WordPress.org

Make WordPress Core

Ticket #39206: 39206-new.patch

File 39206-new.patch, 467 bytes (added by ashokkumar24, 4 years ago)
  • src/wp-admin/network.php

     
    1515/** WordPress Administration Bootstrap */
    1616require_once( dirname( __FILE__ ) . '/admin.php' );
    1717
    18 if ( ! is_super_admin() ) {
     18if ( ! current_user_can( 'manage_options' ) ) {
    1919        wp_die( __( 'Sorry, you are not allowed to manage options for this site.' ) );
    2020}