Make WordPress Core


Ignore:
Timestamp:
11/04/2010 09:02:13 PM (14 years ago)
Author:
scribu
Message:

Rename property _screen to screen. See #14579

File:
1 edited

Legend:

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

    r16175 r16195  
    152152        //$posts_columns['tags'] = _x( 'Tags', 'column name' );
    153153        /* translators: column name */
    154         if ( 'upload' == $this->_screen->id ) {
     154        if ( 'upload' == $this->screen->id ) {
    155155            $posts_columns['parent'] = _x( 'Attached to', 'column name' );
    156156            $posts_columns['comments'] = '<div class="vers"><img alt="Comments" src="' . esc_url( admin_url( 'images/comment-grey-bubble.png' ) ) . '" /></div>';
     
    158158        /* translators: column name */
    159159        $posts_columns['date'] = _x( 'Date', 'column name' );
    160         $posts_columns = apply_filters( 'manage_media_columns', $posts_columns, 'upload' != $this->_screen->id );
     160        $posts_columns = apply_filters( 'manage_media_columns', $posts_columns, 'upload' != $this->screen->id );
    161161
    162162        return $posts_columns;
Note: See TracChangeset for help on using the changeset viewer.