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:
Peter Westwood 2010-12-16 13:09:16 +00:00
parent b8d51ca378
commit f75e632dd0
1 changed files with 1 additions and 0 deletions

View File

@ -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 &#8220;Uncategorized&#8221; until you change it in your <a href="%s">writing settings</a>.' ) , 'options-writing.php' ) . '</p>';
elseif ( 'link_category' == $taxonomy )