Changeset 17432 for branches/3.1/wp-admin/user-new.php
- Timestamp:
- 02/09/2011 05:30:46 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/3.1/wp-admin/user-new.php
r17069 r17432 10 10 require_once('./admin.php'); 11 11 12 if ( ! current_user_can('create_users') && ! current_user_can('promote_users') ) 13 wp_die(__('Cheatin’ uh?')); 12 if ( is_multisite() ) { 13 if ( ! current_user_can( 'create_users' ) && ! current_user_can( 'promote_users' ) ) 14 wp_die( __( 'Cheatin’ uh?' ) ); 15 } elseif ( ! current_user_can( 'create_users' ) ) { 16 wp_die( __( 'Cheatin’ uh?' ) ); 17 } 14 18 15 19 if ( is_multisite() ) {
Note: See TracChangeset
for help on using the changeset viewer.