mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 12:20:22 +00:00
Use WP_Screen::add_help_tab(). see #19020
git-svn-id: https://develop.svn.wordpress.org/trunk@19514 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -18,11 +18,14 @@ require_once( ABSPATH . WPINC . '/http.php' );
|
||||
$title = __( 'Update Network' );
|
||||
$parent_file = 'upgrade.php';
|
||||
|
||||
add_contextual_help($current_screen,
|
||||
'<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>' .
|
||||
'<p>' . __('If a version update to core has not happened, clicking this button won’t affect anything.') . '</p>' .
|
||||
'<p>' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '</p>'
|
||||
);
|
||||
get_current_screen()->add_help_tab( array(
|
||||
'id' => 'overview',
|
||||
'title' => __('Overview'),
|
||||
'content' =>
|
||||
'<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>' .
|
||||
'<p>' . __('If a version update to core has not happened, clicking this button won’t affect anything.') . '</p>' .
|
||||
'<p>' . __('If this process fails for any reason, users logging in to their sites will force the same update.') . '</p>'
|
||||
) );
|
||||
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
||||
|
||||
Reference in New Issue
Block a user