Ticket #25688: 25688.9.diff
File 25688.9.diff, 3.8 KB (added by , 11 years ago) |
---|
-
src/wp-admin/update-core.php
460 460 $title = __('WordPress Updates'); 461 461 $parent_file = 'tools.php'; 462 462 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 463 467 get_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 469 471 ) ); 470 472 473 $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>'; 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 “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>'; 475 471 476 get_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 477 480 ) ); 478 481 479 482 get_current_screen()->set_help_sidebar( 480 483 '<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>' 483 487 ); 484 488 485 489 if ( 'upgrade-core' == $action ) {