Changeset 31035
- Timestamp:
- 01/03/2015 06:19:46 AM (10 years ago)
- Location:
- trunk/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r30679 r31035 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(); -
trunk/src/wp-includes/taxonomy.php
r31024 r31035 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). … … 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'];
Note: See TracChangeset
for help on using the changeset viewer.