Make WordPress Core


Ignore:
Timestamp:
05/15/2010 08:57:17 PM (16 years ago)
Author:
westi
Message:

Fix the column headers title override to use a special name rather than one we use elsewhere.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/includes/template.php

    r14673 r14675  
    32463246
    32473247        foreach ( $columns as $column => $title ) {
    3248                 // Can't hide these
    3249                 if ( 'cb' == $column || 'title' == $column || 'name' == $column || 'username' == $column || 'media' == $column || 'comment' == $column )
     3248                // Can't hide these or they are special
     3249                if ( '_title' == $column || 'cb' == $column || 'title' == $column || 'name' == $column || 'username' == $column || 'media' == $column || 'comment' == $column )
    32503250                        continue;
    32513251                if ( empty($title) )
    … …  
    36103610                <?php endif;
    36113611                if ( ! empty($column_screens) ) : ?>
    3612                 <h5><?php echo ( isset( $column_screens['title'] ) ?  $column_screens['title'] :  _x('Show on screen', 'Columns') ) ?></h5>
     3612                <h5><?php echo ( isset( $column_screens['_title'] ) ?  $column_screens['_title'] :  _x('Show on screen', 'Columns') ) ?></h5>
    36133613                <div class="metabox-prefs">
    36143614                        <?php manage_columns_prefs($screen); ?>
Note: See TracChangeset for help on using the changeset viewer.