Make WordPress Core


Ignore:
Timestamp:
05/30/2014 04:58:36 PM (11 years ago)
Author:
wonderboymusic
Message:

Remove some dead variable assignments.

See #27882.

File:
1 edited

Legend:

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

    r28493 r28629  
    270270        $posts_columns['title'] = _x( 'Title', 'column name' );
    271271
    272         if ( post_type_supports( $post_type, 'author' ) )
     272        if ( post_type_supports( $post_type, 'author' ) ) {
    273273            $posts_columns['author'] = __( 'Author' );
    274 
    275         $taxonomies = array();
     274        }
    276275
    277276        $taxonomies = get_object_taxonomies( $post_type, 'objects' );
Note: See TracChangeset for help on using the changeset viewer.