Only show slug help text when global terms are disabled. see #13467

git-svn-id: http://svn.automattic.com/wordpress/trunk@14915 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-05-26 00:09:49 +00:00
parent 1bb1502499
commit c214836ce3
1 changed files with 3 additions and 2 deletions

View File

@ -178,8 +178,9 @@ if ( 'category' == $taxonomy || 'post_tag' == $taxonomy ) {
$help .= '<p>' . __('When adding a new tag on this screen, you&#8217;ll fill in the following fields:') . '</p>';
$help .= '<ul>' .
'<li>' . __('<strong>Name</strong> - The name is how it appears on your site.') . '</li>' .
'<li>' . __('<strong>Slug</strong> - The &#8220;slug &#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.') . '</li>';
'<li>' . __('<strong>Name</strong> - The name is how it appears on your site.') . '</li>';
if ( ! global_terms_enabled() )
$help .= '<li>' . __('<strong>Slug</strong> - The &#8220;slug &#8221; is the URL-friendly version of the name. It is usually all lowercase and contains only letters, numbers, and hyphens.') . '</li>';
if ( 'category' == $taxonomy )
$help .= '<li>' . __('<strong>Parent</strong> - Categories, unlike tags, can have a hierarchy. You might have a Jazz category, and under that have children categories for Bebop and Big Band. Totally optional. To create a subcategory, just choose another category from the Parent dropdown.') . '</li>';