WordPress.org

Make WordPress Core

Changeset 21945


Ignore:
Timestamp:
09/21/12 20:28:25 (19 months ago)
Author:
nacin
Message:

Reset $taxonomy in single_row's default branch. props tott. fixes #21240.

File:
1 edited

Legend:

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

    r21944 r21945  
    636636                elseif ( 0 === strpos( $column_name, 'taxonomy-' ) ) 
    637637                    $taxonomy = substr( $column_name, 9 ); 
    638  
    639                 if ( ! empty( $taxonomy ) ) { 
     638                else 
     639                    $taxonomy = false; 
     640 
     641                if ( $taxonomy ) { 
    640642                    $taxonomy_object = get_taxonomy( $taxonomy ); 
    641643                    echo '<td ' . $attributes . '>'; 
Note: See TracChangeset for help on using the changeset viewer.