Make WordPress Core


Ignore:
Timestamp:
11/29/2011 04:58:58 PM (13 years ago)
Author:
koopersmith
Message:

Update help text on settings pages. props Ipstenu, see #19020.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/options-general.php

    r19119 r19472  
    5959add_action('admin_head', 'add_js');
    6060
    61 add_contextual_help($current_screen,
    62     '<p>' . __('The fields on this screen determine some of the basics of your site setup.') . '</p>' .
    63     '<p>' . __('Most themes display the site title at the top of every page, in the title bar of the browser, and as the identifying name for syndicated feeds. The tagline is also displayed by many themes.') . '</p>' .
    64     '<p>' . __('The WordPress URL and the Site URL can be the same (example.com) or different; for example, having the WordPress core files (example.com/wordpress) in a subdirectory instead of the root directory.') . '</p>' .
    65     '<p>' . __('If you want site visitors to be able to register themselves, as opposed to being registered by the site administrator, check the membership box. A default user role can be set for all new users, whether self-registered or registered by the site administrator.') . '</p>' .
    66     '<p>' . __('UTC means Coordinated Universal Time.') . '</p>' .
    67     '<p>' . __('Remember to click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>'
    68 );
     61get_current_screen()->add_help_tab( array(
     62    'id'      => 'options',
     63    'title'   => __('Options'),
     64    'content' => '<p>' . __('The fields on this screen determine some of the basics of your site setup.') . '</p>' .
     65        '<p>' . __('Most themes display the site title at the top of every page, in the title bar of the browser, and as the identifying name for syndicated feeds. The tagline is also displayed by many themes.') . '</p>' .
     66        '<p>' . __('The WordPress URL and the Site URL can be the same (example.com) or different; for example, having the WordPress core files (example.com/wordpress) in a subdirectory instead of the root directory.') . '</p>' .
     67        '<p>' . __('If you want site visitors to be able to register themselves, as opposed to being registered by the site administrator, check the membership box. A default user role can be set for all new users, whether self-registered or registered by the site administrator.') . '</p>' .
     68        '<p>' . __('UTC means Coordinated Universal Time.') . '</p>' .
     69        '<p>' . __('Remember to click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>',
     70) );
    6971
    7072get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.