mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
Tighten up the help documentation on the updates page, and add a section for updating translations. see #25688.
Built from https://develop.svn.wordpress.org/trunk@26825 git-svn-id: http://core.svn.wordpress.org/trunk@26712 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fb2ec8d5a4
commit
f70e3595b8
@ -460,7 +460,7 @@ $title = __('WordPress Updates');
|
||||
$parent_file = 'tools.php';
|
||||
|
||||
$updates_overview = '<p>' . __( 'On this screen, you can update to the latest version of WordPress, as well as update your themes and plugins from the WordPress.org repositories.' ) . '</p>';
|
||||
$updates_overview .= '<p>' . __( 'For security reasons, it is important to keep your WordPress installation up to date whenever possible. If you see an update notification appear in the Toolbar or navigation menu, make sure to take the time to update.' ) . '</p>';
|
||||
$updates_overview .= '<p>' . __( 'If an update is available, you᾿ll see a notification appear in the Toolbar and navigation menu.' ) . ' ' . __( 'Keeping your site up to date is an important for your site’s security, and makes the internet a safer place for you and your readers.' ) . '</p>';
|
||||
|
||||
get_current_screen()->add_help_tab( array(
|
||||
'id' => 'overview',
|
||||
@ -468,9 +468,13 @@ get_current_screen()->add_help_tab( array(
|
||||
'content' => $updates_overview
|
||||
) );
|
||||
|
||||
$updates_howto = '<p>' . __( '<strong>WordPress</strong> — Updating your WordPress installation is a simple one-click procedure; just <strong>click on the “Update Now” button</strong> when you are notified that a new version is available. In most cases, WordPress can <a href="http://codex.wordpress.org/Updating_WordPress#Automatic_Background_Updates" target="_blank">automatically apply</a> maintenance and security updates in the background for you. A message at the top of this screen shows whether or not automatic updates will work with your site.' ) . '</p>';
|
||||
$updates_howto = '<p>' . __( '<strong>WordPress</strong> — Updating your WordPress installation is a simple one-click procedure: just <strong>click on the “Update Now” button</strong> when you are notified that a new version is available.' ) . ' ' . __( 'In most cases, WordPress will automatically apply maintenance and security updates in the background for you.' ) . '</p>';
|
||||
$updates_howto .= '<p>' . __( '<strong>Themes and Plugins</strong> — To update individual themes or plugins from this screen, use the checkboxes to make your selection, then <strong>click on the appropriate “Update” button</strong>. To update all of your themes or plugins at once, you can check the box at the top of the section to select all before clicking the update button.' ) . '</p>';
|
||||
|
||||
if ( 'en_US' != get_locale() ) {
|
||||
$updates_howto .= '<p>' . __( '<strong>Translations</strong> — The files translating WordPress into your language are updated for you whenever any other updates occur. But if these files are out of date, you can <strong>click the “Update Translations”</strong> button.' ) . '</p>';
|
||||
}
|
||||
|
||||
get_current_screen()->add_help_tab( array(
|
||||
'id' => 'how-to-update',
|
||||
'title' => __( 'How to Update' ),
|
||||
@ -480,7 +484,6 @@ get_current_screen()->add_help_tab( array(
|
||||
get_current_screen()->set_help_sidebar(
|
||||
'<p><strong>' . __('For more information:') . '</strong></p>' .
|
||||
'<p>' . __( '<a href="http://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="http://codex.wordpress.org/Configuring_Automatic_Background_Updates" target="_blank">Configuring Automatic Background Updates</a>' ) . '</p>' .
|
||||
'<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user