Ticket #39212: 39212.patch
File 39212.patch, 411 bytes (added by , 8 years ago) |
---|
-
ms.php
704 704 * @return bool True if the user has proper permissions, false if they do not. 705 705 */ 706 706 function check_import_new_users( $permission ) { 707 if ( ! is_super_admin() )707 if ( !current_user_can( 'manage_network_users' ) ) 708 708 return false; 709 709 return true; 710 710 }