Make WordPress Core

Ticket #25688: 25688.9.diff

File 25688.9.diff, 3.8 KB (added by SergeyBiryukov, 11 years ago)
  • src/wp-admin/update-core.php

     
    460460$title = __('WordPress Updates');
    461461$parent_file = 'tools.php';
    462462
     463$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>';
     464$updates_overview .= '<p>' . __( 'For security reasons, it is important to keep your WordPress installation up to date whenever possible. When updates are available, notifications will appear in the Toolbar and navigation menu. If you see a notification, make sure to take the time to update.' ) . '</p>';
     465$updates_overview .= '<p>' . __( '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. Check below to see if automatic updates will work with your site.' ) . '</p>';
     466
    463467get_current_screen()->add_help_tab( array(
    464 'id'            => 'overview',
    465 'title'         => __('Overview'),
    466 'content'       =>
    467         '<p>' . __('This screen lets you update to the latest version of WordPress as well as update your themes and plugins from the WordPress.org repository. When updates are available, the number of available updates will appear in a bubble on the left hand menu as a notification.') . '</p>' .
    468         '<p>' . __('It is very important to keep your WordPress installation up to date for security reasons, so when you see a number appear, make sure you take the time to update, which is an easy process.') . '</p>'
     468        'id'      => 'overview',
     469        'title'   => __( 'Overview' ),
     470        'content' => $updates_overview
    469471) );
    470472
     473$updates_howto  = '<p>' . __( 'Updating your WordPress installation is a simple one-click procedure; just <strong>click on the &#8220;Update&#8221; button</strong> when you are notified that a new version is available.' ) . '</p>';
     474$updates_howto .= '<p>' . __( 'To update themes or plugins from this screen, use the checkboxes to make your selection, then <strong>click on the appropriate &#8220;Update&#8221; button</strong>. Check the box at the top of the Themes or Plugins section to select all, and update them all at once.' ) . '</p>';
     475
    471476get_current_screen()->add_help_tab( array(
    472 'id'            => 'how-to-update',
    473 'title'         => __('How to Update'),
    474 'content'       =>
    475         '<p>' . __('Updating your WordPress installation is a simple one-click procedure; just click on the Update button when it says a new version is available.') . '</p>' .
    476         '<p>' . __('To update themes or plugins from this screen, use the checkboxes to make your selection and click on the appropriate Update button. Check the box at the top of the Themes or Plugins section to select all and update them all at once.') . '</p>'
     477        'id'      => 'how-to-update',
     478        'title'   => __( 'How to Update' ),
     479        'content' => $updates_howto
    477480) );
    478481
    479482get_current_screen()->set_help_sidebar(
    480483        '<p><strong>' . __('For more information:') . '</strong></p>' .
    481         '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>') . '</p>' .
    482         '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>'
     484        '<p>' . __( '<a href="http://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>' ) . '</p>' .
     485        '<p>' . __( '<a href="http://codex.wordpress.org/Configuring_Automatic_Background_Updates" target="_blank">Configuring Automatic Background Updates</a>' ) . '</p>' .
     486        '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
    483487);
    484488
    485489if ( 'upgrade-core' == $action ) {