@@ -8,7 +8,7 @@ discard block |
||
| 8 | 8 | |
| 9 | 9 | public function init() { |
| 10 | 10 | $capabilities = array( |
| 11 | - 'read_wp_syndicate', |
|
| 11 | + 'read_wp_syndicate', |
|
| 12 | 12 | 'edit_wp_syndicate', |
| 13 | 13 | 'delete_wp_syndicate', |
| 14 | 14 | 'edit_wp_syndicates', |
@@ -29,20 +29,20 @@ discard block |
||
| 29 | 29 | } |
| 30 | 30 | register_post_type( 'wp-syndicate', |
| 31 | 31 | array( |
| 32 | - 'labels' => array( 'name' => __( 'Syndication', WPSYND_DOMAIN ) ), |
|
| 33 | - 'public' => true, |
|
| 34 | - 'publicly_queryable' => false, |
|
| 32 | + 'labels' => array( 'name' => __( 'Syndication', WPSYND_DOMAIN ) ), |
|
| 33 | + 'public' => true, |
|
| 34 | + 'publicly_queryable' => false, |
|
| 35 | 35 | 'has_archive' => false, |
| 36 | - 'hierarchical' => false, |
|
| 37 | - 'supports' => array( 'title' ), |
|
| 38 | - 'rewrite' => false, |
|
| 39 | - 'can_export' => true, |
|
| 40 | - 'menu_position' => 28, |
|
| 41 | - 'capability_type' => 'wp_syndicate', |
|
| 36 | + 'hierarchical' => false, |
|
| 37 | + 'supports' => array( 'title' ), |
|
| 38 | + 'rewrite' => false, |
|
| 39 | + 'can_export' => true, |
|
| 40 | + 'menu_position' => 28, |
|
| 41 | + 'capability_type' => 'wp_syndicate', |
|
| 42 | 42 | 'capabilities' => $capabilities, |
| 43 | 43 | 'map_meta_cap' => true, |
| 44 | 44 | 'register_meta_box_cb' => array( $this, 'add_meta_box' ), |
| 45 | - )); |
|
| 45 | + )); |
|
| 46 | 46 | } |
| 47 | 47 | |
| 48 | 48 | public function add_meta_box() { |