WordPress.org

Make WordPress Core

Changeset 14638


Ignore:
Timestamp:
05/14/10 16:45:14 (5 years ago)
Author:
westi
Message:

Try and tidy up the show_screen logic a little.
Implement a better override of the column header.
See #13393.

File:
1 edited

Legend:

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

    r14631 r14638  
    318318    add_filter( 'manage_nav-menus_columns', 'wp_nav_menu_manage_columns'); 
    319319 
    320     add_filter( 'columns_prefs_header', create_function( '', "return __('Show advanced menu properties');" )); 
    321  
    322320    // If first time editing, disable advanced items by default. 
    323321    if( false === get_user_option( 'managenav-menuscolumnshidden' ) ) { 
     
    999997function wp_nav_menu_manage_columns() { 
    1000998    return array( 
     999        'title' => __('Show advanced menu properties'), 
    10011000        'cb' => '<input type="checkbox" />', 
    10021001        'link-target' => __('Link Target'), 
Note: See TracChangeset for help on using the changeset viewer.