Changeset 16551
- Timestamp:
- 11/23/2010 04:29:21 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/capabilities.php
r16422 r16551 986 986 break; 987 987 case 'create_users': 988 if ( !is_multisite() || is_super_admin() || get_site_option( 'add_new_users' ))988 if ( !is_multisite() ) 989 989 $caps[] = $cap; 990 elseif ( is_super_admin() || get_site_option( 'add_new_users' ) ) 991 $caps[] = $cap; 992 else 993 $caps[] = 'do_not_allow'; 990 994 break; 991 995 default:
Note: See TracChangeset
for help on using the changeset viewer.