Ticket #25688: 25688.10.diff
File 25688.10.diff, 3.7 KB (added by , 11 years ago) |
---|
-
src/wp-admin/update-core.php
459 459 $title = __('WordPress Updates'); 460 460 $parent_file = 'tools.php'; 461 461 462 $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>'; 464 $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>'; 465 462 466 get_current_screen()->add_help_tab( array( 463 'id' => 'overview', 464 'title' => __('Overview'), 465 'content' => 466 '<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>' . 467 '<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>' 467 'id' => 'overview', 468 'title' => __( 'Overview' ), 469 'content' => $updates_overview 468 470 ) ); 469 471 472 $updates_howto = '<p>' . __( 'Updating your WordPress installation is a simple one-click procedure; just <strong>click on the “Update” button</strong> when you are notified that a new version is available.' ) . '</p>'; 473 $updates_howto .= '<p>' . __( 'To update themes or plugins from this screen, use the checkboxes to make your selection, then <strong>click on the appropriate “Update” button</strong>. Check the box at the top of the Themes or Plugins section to select all, and update them all at once.' ) . '</p>'; 474 470 475 get_current_screen()->add_help_tab( array( 471 'id' => 'how-to-update', 472 'title' => __('How to Update'), 473 'content' => 474 '<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>' . 475 '<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>' 476 'id' => 'how-to-update', 477 'title' => __( 'How to Update' ), 478 'content' => $updates_howto 476 479 ) ); 477 480 478 481 get_current_screen()->set_help_sidebar( 479 482 '<p><strong>' . __('For more information:') . '</strong></p>' . 480 '<p>' . __('<a href="http://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>') . '</p>' . 481 '<p>' . __('<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>') . '</p>' 483 '<p>' . __( '<a href="http://codex.wordpress.org/Dashboard_Updates_Screen" target="_blank">Documentation on Updating WordPress</a>' ) . '</p>' . 484 '<p>' . __( '<a href="http://codex.wordpress.org/Configuring_Automatic_Background_Updates" target="_blank">Configuring Automatic Background Updates</a>' ) . '</p>' . 485 '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>' 482 486 ); 483 487 484 488 if ( 'upgrade-core' == $action ) {