Changeset 3323
- Timestamp:
- 06/09/2016 04:37:23 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/class-plugin-directory.php
r3320 r3323 102 102 'show_ui' => current_user_can( 'plugin_set_section' ), 103 103 'show_admin_column' => current_user_can( 'plugin_set_section' ), 104 'meta_box_cb' => 'post_categories_meta_box',104 'meta_box_cb' => false, // 'post_categories_meta_box', 105 105 'capabilities' => array( 106 106 'assign_terms' => 'plugin_set_section', 107 107 ), 108 108 'labels' => array( 109 'name' => __( 'Plugin Sections','wporg-plugins' ),109 'name' => __( 'Plugin Sections', 'wporg-plugins' ), 110 110 ), 111 111 ) ); … … 121 121 ), 122 122 'labels' => array( 123 'name' => __( 'Plugin Categories', 123 'name' => __( 'Plugin Categories', 'wporg-plugins' ), 124 124 'singular_name' => __( 'Plugin Category', 'wporg-plugins' ), 125 125 'edit_item' => __( 'Edit Category', 'wporg-plugins' ), … … 127 127 'add_new_item' => __( 'Add New Category', 'wporg-plugins' ), 128 128 'new_item_name' => __( 'New Category Name', 'wporg-plugins' ), 129 'search_items' => __( 'Search Categories', 129 'search_items' => __( 'Search Categories', 'wporg-plugins' ), 130 130 ), 131 131 'public' => true, … … 134 134 'meta_box_cb' => array( __NAMESPACE__ . '\Admin\Metabox\Plugin_Categories', 'display' ), 135 135 'capabilities' => array( 136 'assign_terms' => 'plugin_set_category' 136 'assign_terms' => 'plugin_set_category', 137 137 ) 138 138 ) ); … … 143 143 'rewrite' => false, 144 144 'labels' => array( 145 'name' => __( 'Built For', 145 'name' => __( 'Built For', 'wporg-plugins' ), 146 146 ), 147 147 'public' => true, 148 148 'show_ui' => true, 149 149 'show_admin_column' => false, 150 //'meta_box_cb' =>array( __NAMESPACE__ . '\Admin\Metabox\Plugin_Categories', 'display' ),150 'meta_box_cb' => false, // array( __NAMESPACE__ . '\Admin\Metabox\Plugin_Categories', 'display' ), 151 151 'capabilities' => array( 152 'assign_terms' => 'plugin_set_category' 152 'assign_terms' => 'plugin_set_category', 153 153 ) 154 154 ) ); … … 159 159 'rewrite' => false, 160 160 'labels' => array( 161 'name' => __( 'Business Model', 161 'name' => __( 'Business Model', 'wporg-plugins' ), 162 162 ), 163 163 'public' => true, 164 164 'show_ui' => true, 165 165 'show_admin_column' => false, 166 //'meta_box_cb' =>array( __NAMESPACE__ . '\Admin\Metabox\Plugin_Categories', 'display' ),166 'meta_box_cb' => false, // array( __NAMESPACE__ . '\Admin\Metabox\Plugin_Categories', 'display' ), 167 167 'capabilities' => array( 168 'assign_terms' => 'plugin_set_category' 168 'assign_terms' => 'plugin_set_category', 169 169 ) 170 170 ) );
Note: See TracChangeset
for help on using the changeset viewer.