Changeset 32811
- Timestamp:
- 06/17/2015 12:02:08 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/capabilities.php
r32771 r32811 1377 1377 if ( !is_multisite() ) 1378 1378 $caps[] = $cap; 1379 elseif ( is_super_admin( ) || get_site_option( 'add_new_users' ) )1379 elseif ( is_super_admin( $user_id ) || get_site_option( 'add_new_users' ) ) 1380 1380 $caps[] = $cap; 1381 1381 else
Note: See TracChangeset
for help on using the changeset viewer.