- Timestamp:
- 06/12/2015 06:54:56 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-terms-list-table.php
r32669 r32739 224 224 $terms = get_terms( $taxonomy, $args ); 225 225 226 if ( empty( $terms ) ) {226 if ( empty( $terms ) || ! is_array( $terms ) ) { 227 227 echo '<tr class="no-items"><td class="colspanchange" colspan="' . $this->get_column_count() . '">'; 228 228 $this->no_items(); … … 240 240 $this->_rows( $taxonomy, $terms, $children, $offset, $number, $count ); 241 241 } else { 242 $terms = get_terms( $taxonomy, $args );243 242 foreach ( $terms as $term ) { 244 243 $this->single_row( $term );
Note: See TracChangeset
for help on using the changeset viewer.