Changeset 32738
- Timestamp:
- 06/12/2015 06:49:18 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/class-wp-posts-list-table.php
r32725 r32738 675 675 * @global WP_Post $post 676 676 * 677 * @param WP_Post $post678 * @param int $level677 * @param int|WP_Post $post 678 * @param int $level 679 679 */ 680 680 public function single_row( $post, $level = 0 ) { … … 887 887 if ( $taxonomy ) { 888 888 $taxonomy_object = get_taxonomy( $taxonomy ); 889 if ( $terms = get_the_terms( $post->ID, $taxonomy ) ) { 889 $terms = get_the_terms( $post->ID, $taxonomy ); 890 if ( is_array( $terms ) ) { 890 891 $out = array(); 891 892 foreach ( $terms as $t ) {
Note: See TracChangeset
for help on using the changeset viewer.