Ensure we always have a $help to append to. Fixes #15845 props garyc40.

git-svn-id: http://svn.automattic.com/wordpress/trunk@16998 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
westi 2010-12-16 13:09:16 +00:00
parent 64b2d0b046
commit ad2ab9b7ae
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 )