Make WordPress Core

Changeset 26818

Timestamp:
12/09/2013 02:36:08 AM (11 years ago)
Author:
iammattthomas
Message:

Updates screen Help page should explain the auto-update feature. Fixes #25688, props jenmylo, trepmal.

File:
1 edited

Legend:

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

    r26518 r26818  
    460460$parent_file = 'tools.php';
    461461
     462
     463
     464
    462465get_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>'
     466    'id'      => 'overview',
     467    'title'   => __( 'Overview' ),
     468    'content' => $updates_overview
    468469) );
    469470
     471
     472
     473
    470474get_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>'
     475    'id'      => 'how-to-update',
     476    'title'   => __( 'How to Update' ),
     477    'content' => $updates_howto
    476478) );
    477479
    478480get_current_screen()->set_help_sidebar(
    479481    '<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>'
     482    '<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>' .
     484    '<p>' . __( '<a href="http://wordpress.org/support/" target="_blank">Support Forums</a>' ) . '</p>'
    482485);
    483486
Note: See TracChangeset for help on using the changeset viewer.