| @@ -1,14 +1,14 @@ | ||
| 1 | 1 | <?php | 
| 2 | 2 | /** | 
| 3 | - * Plugin Name: WP Syndicate | |
| 4 | - * Plugin URI: http://digitalcube.jp | |
| 5 | - * Description: It is a plug-in that WP Syndicate takes in an RSS feed, it is possible to capture the content of other sites on the WordPress site. | |
| 6 | - * Author: horike | |
| 7 | - * Version: 1.1.21 | |
| 8 | - * Author URI: http://digitalcube.jp | |
| 9 | - * License: GPL2+ | |
| 10 | - * @package WordPress | |
| 11 | - */ | |
| 3 | + * Plugin Name: WP Syndicate | |
| 4 | + * Plugin URI: http://digitalcube.jp | |
| 5 | + * Description: It is a plug-in that WP Syndicate takes in an RSS feed, it is possible to capture the content of other sites on the WordPress site. | |
| 6 | + * Author: horike | |
| 7 | + * Version: 1.1.21 | |
| 8 | + * Author URI: http://digitalcube.jp | |
| 9 | + * License: GPL2+ | |
| 10 | + * @package WordPress | |
| 11 | + */ | |
| 12 | 12 | |
| 13 | 13 |  if ( ! defined( 'WPSYND_DOMAIN' ) ) { | 
| 14 | 14 | define( 'WPSYND_DOMAIN', 'wp-syndicate' ); } | 
| @@ -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() { |