fix multisite logic in changeset 12712, See #11644
git-svn-id: http://svn.automattic.com/wordpress/trunk@12716 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2fabcf53fe
commit
68eb3f5632
|
@ -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" />
|
||||
|
|
|
@ -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 />
|
||||
|
|
|
@ -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" />
|
||||
|
|
Loading…
Reference in New Issue