Make WordPress Core

Changeset 26825


Ignore:
Timestamp:
12/09/2013 06:46:59 AM (11 years ago)
Author:
nacin
Message:

Tighten up the help documentation on the updates page, and add a section for updating translations. see #25688.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/update-core.php

    r26818 r26825  
    461461
    462462$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>';
    463 $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>';
     463$updates_overview .= '<p>' . __( 'If an update is available, you&#8127;ll see a notification appear in the Toolbar and navigation menu.' ) . ' ' . __( 'Keeping your site up to date is an important for your site&#8217;s security, and makes the internet a safer place for you and your readers.' ) . '</p>';
    464464
    465465get_current_screen()->add_help_tab( array(
     
    469469) );
    470470
    471 $updates_howto  = '<p>' . __( '<strong>WordPress</strong> &mdash; Updating your WordPress installation is a simple one-click procedure; just <strong>click on the &#8220;Update Now&#8221; 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>';
     471$updates_howto  = '<p>' . __( '<strong>WordPress</strong> &mdash; Updating your WordPress installation is a simple one-click procedure: just <strong>click on the &#8220;Update Now&#8221; 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>';
    472472$updates_howto .= '<p>' . __( '<strong>Themes and Plugins</strong> &mdash; To update individual themes or plugins from this screen, use the checkboxes to make your selection, then <strong>click on the appropriate &#8220;Update&#8221; 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>';
     473
     474if ( 'en_US' != get_locale() ) {
     475    $updates_howto .= '<p>' . __( '<strong>Translations</strong> &mdash; 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 &#8220;Update Translations&#8221;</strong> button.' ) . '</p>';
     476}
    473477
    474478get_current_screen()->add_help_tab( array(
     
    481485    '<p><strong>' . __('For more information:') . '</strong></p>' .
    482486    '<p>' . __( '<a href="http://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>' ) . '</p>' .
    483     '<p>' . __( '<a href="http://codex.wordpress.org/Configuring_Automatic_Background_Updates" target="_blank">Configuring Automatic Background Updates</a>' ) . '</p>' .
    484487    '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
    485488);
Note: See TracChangeset for help on using the changeset viewer.