Ensure we always have a $help to append to. Fixes #15845 props garyc40.
git-svn-id: https://develop.svn.wordpress.org/trunk@16998 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
b8d51ca378
commit
f75e632dd0
|
@ -158,6 +158,7 @@ if ( current_user_can($tax->cap->edit_terms) )
|
|||
wp_enqueue_script('inline-edit-tax');
|
||||
|
||||
if ( 'category' == $taxonomy || 'link_category' == $taxonomy || 'post_tag' == $taxonomy ) {
|
||||
$help ='';
|
||||
if ( 'category' == $taxonomy )
|
||||
$help .= '<p>' . sprintf(__( 'You can use categories to define sections of your site and group related posts. The default category is “Uncategorized” until you change it in your <a href="%s">writing settings</a>.' ) , 'options-writing.php' ) . '</p>';
|
||||
elseif ( 'link_category' == $taxonomy )
|
||||
|
|
Loading…
Reference in New Issue