Use global_terms_enabled() instead of is_multisite() for term quick-editing

git-svn-id: https://develop.svn.wordpress.org/trunk@15524 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
scribu 2010-08-23 18:56:39 +00:00
parent 942196b9c0
commit 13cf1eda37
1 changed files with 1 additions and 1 deletions

View File

@ -1646,7 +1646,7 @@ class WP_Terms_Table extends WP_List_Table {
<span class="title"><?php _e( 'Name' ); ?></span>
<span class="input-text-wrap"><input type="text" name="name" class="ptitle" value="" /></span>
</label>
<?php if ( !is_multisite() ) { ?>
<?php if ( !global_terms_enabled() ) { ?>
<label>
<span class="title"><?php _e( 'Slug' ); ?></span>
<span class="input-text-wrap"><input type="text" name="slug" class="ptitle" value="" /></span>