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/upgrade.php

    r19122 r19514  
    1919$parent_file = 'upgrade.php';
    2020
    21 add_contextual_help($current_screen,
    22     '<p>' . __('Only use this screen once you have updated to a new version of WordPress through Updates/Available Updates (via the Network Administration navigation menu or the Admin Bar). Clicking the Update Network button will step through each site in the network, five at a time, and make sure any database updates are applied.') . '</p>' .
    23     '<p>' . __('If a version update to core has not happened, clicking this button won&#8217;t affect anything.') . '</p>' .
    24     '<p>' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '</p>'
    25 );
     21get_current_screen()->add_help_tab( array(
     22    'id'      => 'overview',
     23    'title'   => __('Overview'),
     24    'content' =>
     25        '<p>' . __('Only use this screen once you have updated to a new version of WordPress through Updates/Available Updates (via the Network Administration navigation menu or the Admin Bar). Clicking the Update Network button will step through each site in the network, five at a time, and make sure any database updates are applied.') . '</p>' .
     26        '<p>' . __('If a version update to core has not happened, clicking this button won&#8217;t affect anything.') . '</p>' .
     27        '<p>' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '</p>'
     28) );
    2629
    2730get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.