WordPress.org

Make WordPress Core

Ticket #25688: 25688.12.diff

File 25688.12.diff, 3.5 KB (added by nacin, 6 years ago)
  • src/wp-admin/update-core.php

     
    460460$parent_file = 'tools.php';
    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 you see an update notification appear in the Toolbar or navigation menu, make sure to take the time to update.' ) . ' ' . __( 'Keeping your site updated is important for security. It also makes the internet a safer place for you and your readers.' ) . '</p>';
    464464
    465465get_current_screen()->add_help_tab( array(
    466466        'id'      => 'overview',
     
    468468        'content' => $updates_overview
    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>';
    473473
     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}
     477
    474478get_current_screen()->add_help_tab( array(
    475479        'id'      => 'how-to-update',
    476480        'title'   => __( 'How to Update' ),
     
    480484get_current_screen()->set_help_sidebar(
    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);
    486489