Make WordPress Core


Ignore:
Timestamp:
12/01/2011 02:22:07 AM (14 years ago)
Author:
ryan
Message:

Use WP_Screen::add_help_tab(). see #19020

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/network/themes.php

    r19122 r19514  
    204204add_screen_option( 'per_page', array('label' => _x( 'Themes', 'themes per page (screen options)' )) );
    205205
    206 add_contextual_help($current_screen,
    207     '<p>' . __('This screen enables and disables the inclusion of themes available to choose in the Appearance menu for each site. It does not activate or deactivate which theme a site is currently using.') . '</p>' .
    208     '<p>' . __('If the network admin disables a theme that is in use, it can still remain selected on that site. If another theme is chosen, the disabled theme will not appear in the site&#8217;s Appearance > Themes screen.') . '</p>' .
    209     '<p>' . __('Themes can be enabled on a site by site basis by the network admin on the Edit Site screen (which has a Themes tab); get there via the Edit action link on the All Sites screen. Only network admins are able to install or edit themes.') . '</p>'
    210 );
     206get_current_screen()->add_help_tab( array(
     207    'id'      => 'overview',
     208    'title'   => __('Overview'),
     209    'content' =>
     210        '<p>' . __('This screen enables and disables the inclusion of themes available to choose in the Appearance menu for each site. It does not activate or deactivate which theme a site is currently using.') . '</p>' .
     211        '<p>' . __('If the network admin disables a theme that is in use, it can still remain selected on that site. If another theme is chosen, the disabled theme will not appear in the site&#8217;s Appearance > Themes screen.') . '</p>' .
     212        '<p>' . __('Themes can be enabled on a site by site basis by the network admin on the Edit Site screen (which has a Themes tab); get there via the Edit action link on the All Sites screen. Only network admins are able to install or edit themes.') . '</p>'
     213) );
    211214
    212215get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.