WordPress.org

Make WordPress Core

Changeset 13236


Ignore:
Timestamp:
02/19/2010 10:02:43 PM (10 years ago)
Author:
nacin
Message:

Fix nesting of an if statement. Show keyboard shortcuts option even when admin colors are disabled. Props pampfelimetten, fixes #12294

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/user-edit.php

    r13106 r13236  
    185185    </tr>
    186186<?php endif; ?>
    187 <?php if (count($_wp_admin_css_colors) > 1 ) : ?>
     187<?php if ( count($_wp_admin_css_colors) > 1 ) : ?>
    188188<tr>
    189189<th scope="row"><?php _e('Admin Color Scheme')?></th>
     
    208208</fieldset></td>
    209209</tr>
    210 <?php if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?>
     210<?php
     211endif;
     212if ( !( IS_PROFILE_PAGE && !$user_can_edit ) ) : ?>
    211213<tr>
    212214<th scope="row"><?php _e( 'Keyboard Shortcuts' ); ?></th>
     
    214216</tr>
    215217<?php
    216 endif;
    217218endif;
    218219do_action('personal_options', $profileuser);
Note: See TracChangeset for help on using the changeset viewer.