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

git-svn-id: http://svn.automattic.com/wordpress/trunk@14675 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-05-15 20:57:17 +00:00
parent 6d6532bfa1
commit 5672ca994e
2 changed files with 4 additions and 4 deletions

View File

@ -1004,7 +1004,7 @@ function wp_get_nav_menu_to_edit( $menu_id = 0 ) {
*/
function wp_nav_menu_manage_columns() {
return array(
'title' => __('Show advanced menu properties'),
'_title' => __('Show advanced menu properties'),
'cb' => '<input type="checkbox" />',
'link-target' => __('Link Target'),
'css-classes' => __('CSS Classes'),

View File

@ -3245,8 +3245,8 @@ function manage_columns_prefs($page) {
$hidden = get_hidden_columns($page);
foreach ( $columns as $column => $title ) {
// Can't hide these
if ( 'cb' == $column || 'title' == $column || 'name' == $column || 'username' == $column || 'media' == $column || 'comment' == $column )
// Can't hide these or they are special
if ( '_title' == $column || 'cb' == $column || 'title' == $column || 'name' == $column || 'username' == $column || 'media' == $column || 'comment' == $column )
continue;
if ( empty($title) )
continue;
@ -3609,7 +3609,7 @@ function screen_meta($screen) {
</div>
<?php endif;
if ( ! empty($column_screens) ) : ?>
<h5><?php echo ( isset( $column_screens['title'] ) ? $column_screens['title'] : _x('Show on screen', 'Columns') ) ?></h5>
<h5><?php echo ( isset( $column_screens['_title'] ) ? $column_screens['_title'] : _x('Show on screen', 'Columns') ) ?></h5>
<div class="metabox-prefs">
<?php manage_columns_prefs($screen); ?>
<br class="clear" />