Ticket #39212: 39212-2.patch
File 39212-2.patch, 508 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 710 return true; 710 711 } 711 712 // See "import_allow_fetch_attachments" and "import_attachment_size_limit" filters too.