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-reading.php

    r19119 r19472  
    4242add_action('admin_head', 'add_js');
    4343
    44 add_contextual_help($current_screen,
    45     '<p>' . __('This screen contains the settings that affect the display of your content.') . '</p>' .
    46     '<p>' . sprintf(__('You can choose what&#8217;s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two <a href="%s">Pages</a>. One will become the front page, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '</p>' .
    47     '<p>' . __('You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display, whether to show full text or a summary, and the character set encoding.') . '</p>' .
    48     '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>'
    49 );
     44get_current_screen()->add_help_tab( array(
     45    'id'      => 'options-reading',
     46    'title'   => __('Reading Options'),
     47    'content' => '<p>' . __('This screen contains the settings that affect the display of your content.') . '</p>' .
     48        '<p>' . sprintf(__('You can choose what&#8217;s displayed on the front page of your site. It can be posts in reverse chronological order (classic blog), or a fixed/static page. To set a static home page, you first need to create two <a href="%s">Pages</a>. One will become the front page, and the other will be where your posts are displayed.'), 'post-new.php?post_type=page') . '</p>' .
     49        '<p>' . __('You can also control the display of your content in RSS feeds, including the maximum numbers of posts to display, whether to show full text or a summary, and the character set encoding.') . '</p>' .
     50        '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>',
     51) );
    5052
    5153get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.