fix multisite logic in changeset 12712, See #11644

git-svn-id: https://develop.svn.wordpress.org/trunk@12716 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ron Rennick 2010-01-12 22:51:41 +00:00
parent 60d271287e
commit f0dbd19696
3 changed files with 3 additions and 3 deletions

View File

@ -297,7 +297,7 @@ if ( $page_links )
<input name="cat_name" id="cat_name" type="text" value="" size="40" aria-required="true" />
<p><?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></p>
</div>
<?php if ( is_multisite() ) { ?>
<?php if ( !is_multisite() ) { ?>
<div class="form-field">
<label for="category_nicename"><?php _e('Category Slug') ?></label>
<input name="category_nicename" id="category_nicename" type="text" value="" size="40" />

View File

@ -58,7 +58,7 @@ _fill_empty_category($category);
<th scope="row" valign="top"><label for="cat_name"><?php _e('Category Name') ?></label></th>
<td><input name="cat_name" id="cat_name" type="text" value="<?php echo esc_attr($category->name); ?>" size="40" aria-required="true" /></td>
</tr>
<?php if ( is_multisite() ) { ?>
<?php if ( !is_multisite() ) { ?>
<tr class="form-field">
<th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th>
<td><input name="category_nicename" id="category_nicename" type="text" value="<?php echo esc_attr(apply_filters('editable_slug', $category->slug)); ?>" size="40" /><br />

View File

@ -200,7 +200,7 @@ if ( $page_links )
<label for="name"><?php _e('Link Category name') ?></label>
<input name="name" id="name" type="text" value="" size="40" aria-required="true" />
</div>
<?php if ( is_multisite() ) { ?>
<?php if ( !is_multisite() ) { ?>
<div class="form-field">
<label for="slug"><?php _e('Link Category slug') ?></label>
<input name="slug" id="slug" type="text" value="" size="40" />