We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0aebabf commit 6881771Copy full SHA for 6881771
lib/types.php
@@ -67,7 +67,7 @@ public function _register_post_type() {
67
'exclude_from_search' => false,
68
'hierarchical' => false,
69
'menu_position' => null,
70
- 'capability_type' => sanitize_title_with_dashes(( $cap ),
+ 'capability_type' => sanitize_title_with_dashes( $cap ),
71
'menu_icon' => 'dashicons-editor-help',
72
'query_var' => true,
73
'rewrite' => array( 'slug' => sanitize_title_with_dashes( $single ), 'with_front' => false ),
0 commit comments