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

    r19119 r19472  
    1616$parent_file = 'options-general.php';
    1717
    18 add_contextual_help($current_screen,
    19     '<p>' . __('This screen provides some common options for your default permalinks URL structure.') . '</p>' .
    20     '<p>' . __('If you pick an option other than Default, your general URL path with structure tags, terms surrounded by <code>%</code>, will also appear in the custom structure field and your path can be further modified there.') . '</p>' .
    21     '<p>' . __('When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes <code>%category%</code> or <code>%tag%</code>.') . '</p>' .
    22     '<p>' . __('The Optional fields let you customize the &#8220;category&#8221; and &#8220;tag&#8221; base names that will appear in archive URLs. For example, the page listing all posts in the &#8220;Uncategorized&#8221; category could be <code>/topics/uncategorized</code> instead of <code>/category/uncategorized</code>.') . '</p>' .
    23     '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>'
    24 );
     18get_current_screen()->add_help_tab( array(
     19    'id'      => 'options-permalinks',
     20    'title'   => __('Permalink Options'),
     21    'content' => '<p>' . __('This screen provides some common options for your default permalinks URL structure.') . '</p>' .
     22        '<p>' . __('If you pick an option other than Default, your general URL path with structure tags, terms surrounded by <code>%</code>, will also appear in the custom structure field and your path can be further modified there.') . '</p>' .
     23        '<p>' . __('When you assign multiple categories or tags to a post, only one can show up in the permalink: the lowest numbered category. This applies if your custom structure includes <code>%category%</code> or <code>%tag%</code>.') . '</p>' .
     24        '<p>' . __('The Optional fields let you customize the &#8220;category&#8221; and &#8220;tag&#8221; base names that will appear in archive URLs. For example, the page listing all posts in the &#8220;Uncategorized&#8221; category could be <code>/topics/uncategorized</code> instead of <code>/category/uncategorized</code>.') . '</p>' .
     25        '<p>' . __('You must click the Save Changes button at the bottom of the screen for new settings to take effect.') . '</p>',
     26) );
    2527
    2628get_current_screen()->set_help_sidebar(
Note: See TracChangeset for help on using the changeset viewer.