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

git-svn-id: http://svn.automattic.com/wordpress/trunk@15524 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
scribu 2010-08-23 18:56:39 +00:00
parent ccc74eef47
commit f9b862ed5e

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>