Changeset 7659
- Timestamp:
- 04/14/2008 04:56:55 PM (16 years ago)
- Location:
- branches/2.5/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.5/wp-admin/admin-ajax.php
r7509 r7659 435 435 case 'add-user' : 436 436 check_ajax_referer( $action ); 437 if ( !current_user_can(' edit_users') )437 if ( !current_user_can('create_users') ) 438 438 die('-1'); 439 439 require_once(ABSPATH . WPINC . '/registration.php'); -
branches/2.5/wp-admin/users.php
r7578 r7659 379 379 380 380 <br class="clear" /> 381 <?php if ( current_user_can('create_users') ) { ?> 381 382 382 383 <div class="wrap"> … … 453 454 454 455 <?php 456 } 455 457 break; 456 458
Note: See TracChangeset
for help on using the changeset viewer.