Skip to content

Commit

Permalink
Remove labels from plugin-messages taxonomy; set to private;
Browse files Browse the repository at this point in the history
  • Loading branch information
ebinnion committed Jun 17, 2014
1 parent 94bf1f5 commit 87f8a00
Showing 1 changed file with 3 additions and 17 deletions.
20 changes: 3 additions & 17 deletions wp-logger.php
Expand Up @@ -191,27 +191,13 @@ function init() {
)
);

$labels = array(
'name' => esc_html__( 'Plugins' , 'wp-logger' ),
'singular_name' => esc_html__( 'Plugin' , 'wp-logger' ),
'search_items' => esc_html__( 'Search Plugins' , 'wp-logger' ),
'all_items' => esc_html__( 'All Plugins' , 'wp-logger' ),
'parent_item' => esc_html__( 'Parent Plugin' , 'wp-logger' ),
'parent_item_colon' => esc_html__( 'Parent Plugin:' , 'wp-logger' ),
'edit_item' => esc_html__( 'Edit Plugin' , 'wp-logger' ),
'update_item' => esc_html__( 'Update Plugin' , 'wp-logger' ),
'add_new_item' => esc_html__( 'Add New Plugin' , 'wp-logger' ),
'new_item_name' => esc_html__( 'New Plugin Name', 'wp-logger' ),
'menu_name' => esc_html__( 'Plugins' , 'wp-logger' ),
);

register_taxonomy(
self::TAXONOMY,
self::CPT,
array(
'labels' => $labels,
'show_in_nav_menus' => true,
'query_var' => true,
'query_var' => false,
'public' => false,
'rewrite' => false,
)
);

Expand Down

0 comments on commit 87f8a00

Please sign in to comment.