Ticket #30586: 30586.patch
File 30586.patch, 2.0 KB (added by , 10 years ago) |
---|
-
src/wp-admin/includes/class-wp-terms-list-table.php
112 112 return true; 113 113 } 114 114 115 public function no_items() { 116 echo get_taxonomy( $this->screen->taxonomy )->labels->not_found; 117 } 118 115 119 protected function get_bulk_actions() { 116 120 $actions = array(); 117 121 $actions['delete'] = __( 'Delete' ); -
src/wp-includes/taxonomy.php
450 450 * - separate_items_with_commas - This string isn't used on hierarchical taxonomies. Default is "Separate tags with commas", used in the meta box. 451 451 * - add_or_remove_items - This string isn't used on hierarchical taxonomies. Default is "Add or remove tags", used in the meta box when JavaScript is disabled. 452 452 * - choose_from_most_used - This string isn't used on hierarchical taxonomies. Default is "Choose from the most used tags", used in the meta box. 453 * - not_found - This string isn't used on hierarchical taxonomies. Default is "No tags found", used in the meta box.453 * - not_found - Default is "No tags found"/"No categories found", used in the meta box and taxonomy list table. 454 454 * 455 455 * Above, the first default value is for non-hierarchical taxonomies (like tags) and the second one is for hierarchical taxonomies (like categories). 456 456 * … … 484 484 'separate_items_with_commas' => array( __( 'Separate tags with commas' ), null ), 485 485 'add_or_remove_items' => array( __( 'Add or remove tags' ), null ), 486 486 'choose_from_most_used' => array( __( 'Choose from the most used tags' ), null ), 487 'not_found' => array( __( 'No tags found.' ), null),487 'not_found' => array( __( 'No tags found.' ), __( 'No categories found.' ) ), 488 488 ); 489 489 $nohier_vs_hier_defaults['menu_name'] = $nohier_vs_hier_defaults['name']; 490 490