mirror of
https://github.com/WordPress/WordPress.git
synced 2025-02-02 13:41:24 +01:00
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:
parent
1bb1502499
commit
c214836ce3
@ -178,8 +178,9 @@ if ( 'category' == $taxonomy || 'post_tag' == $taxonomy ) {
|
||||
$help .= '<p>' . __('When adding a new tag on this screen, you’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 “slug ” 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 “slug ” 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>';
|
||||
|
Loading…
Reference in New Issue
Block a user