WordPress.org

Make WordPress Core

Changeset 12716


Ignore:
Timestamp:
01/12/2010 10:51:41 PM (8 years ago)
Author:
wpmuguru
Message:

fix multisite logic in changeset 12712, See #11644

Location:
trunk/wp-admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/categories.php

    r12712 r12716  
    298298    <p><?php _e('The name is used to identify the category almost everywhere, for example under the post or in the category widget.'); ?></p>
    299299</div>
    300 <?php if ( is_multisite() ) { ?>
     300<?php if ( !is_multisite() ) { ?>
    301301<div class="form-field">
    302302    <label for="category_nicename"><?php _e('Category Slug') ?></label>
  • trunk/wp-admin/edit-category-form.php

    r12712 r12716  
    5959            <td><input name="cat_name" id="cat_name" type="text" value="<?php echo esc_attr($category->name); ?>" size="40" aria-required="true" /></td>
    6060        </tr>
    61 <?php if ( is_multisite() ) { ?>
     61<?php if ( !is_multisite() ) { ?>
    6262        <tr class="form-field">
    6363            <th scope="row" valign="top"><label for="category_nicename"><?php _e('Category Slug') ?></label></th>
  • trunk/wp-admin/edit-link-categories.php

    r12712 r12716  
    201201    <input name="name" id="name" type="text" value="" size="40" aria-required="true" />
    202202</div>
    203 <?php if ( is_multisite() ) { ?>
     203<?php if ( !is_multisite() ) { ?>
    204204<div class="form-field">
    205205    <label for="slug"><?php _e('Link Category slug') ?></label>
Note: See TracChangeset for help on using the changeset viewer.