WordPress.org

Make WordPress Core

Ticket #39205: 39205.patch

File 39205.patch, 396 bytes (added by dhanendran, 4 years ago)
  • src/wp-admin/includes/ms.php

     
    773773function site_admin_notice() {
    774774        global $wp_db_version, $pagenow;
    775775
    776         if ( ! is_super_admin() ) {
     776        if ( ! current_user_can( 'upgrade_database' ) ) {
    777777                return false;
    778778        }
    779779