Skip to content

Commit 6881771

Browse files
author
Norcross
committed
extra parenthesis. whoops.
1 parent 0aebabf commit 6881771

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/types.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public function _register_post_type() {
6767
'exclude_from_search' => false,
6868
'hierarchical' => false,
6969
'menu_position' => null,
70-
'capability_type' => sanitize_title_with_dashes(( $cap ),
70+
'capability_type' => sanitize_title_with_dashes( $cap ),
7171
'menu_icon' => 'dashicons-editor-help',
7272
'query_var' => true,
7373
'rewrite' => array( 'slug' => sanitize_title_with_dashes( $single ), 'with_front' => false ),

0 commit comments

Comments
 (0)