Make WordPress Core


Ignore:
Timestamp:
01/03/2015 06:19:46 AM (12 years ago)
Author:
wonderboymusic
Message:

Use the 'not_found' label when there are no items for a taxonomy in the terms list table.

Props SergeyBiryukov.
Fixes #30586.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-terms-list-table.php

    r30679 r31035  
    113113        }
    114114
     115        public function no_items() {
     116                echo get_taxonomy( $this->screen->taxonomy )->labels->not_found;
     117        }
     118
    115119        protected function get_bulk_actions() {
    116120                $actions = array();
Note: See TracChangeset for help on using the changeset viewer.