WordPress.org

Make WordPress Core

Changeset 16297


Ignore:
Timestamp:
11/11/10 14:34:51 (3 years ago)
Author:
ryan
Message:

Fix logic. Props nacin. see #15357

File:
1 edited

Legend:

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

    r16294 r16297  
    1010require_once('./admin.php'); 
    1111 
    12 if ( ! current_user_can('create_users') || ! current_user_can('promote_users') ) 
     12if ( ! current_user_can('create_users') && ! current_user_can('promote_users') ) 
    1313    wp_die(__('Cheatin’ uh?')); 
    1414 
Note: See TracChangeset for help on using the changeset viewer.