WordPress.org

Make WordPress Core

Ticket #21270: 21270.diff

File 21270.diff, 481 bytes (added by jeremyfelt, 6 years ago)
  • wp-admin/network/site-themes.php

     
    110110                        break;
    111111        }
    112112
    113         update_option( 'allowedthemes', $allowed_themes );
     113        update_blog_option( $id, 'allowedthemes', $allowed_themes );
    114114        restore_current_blog();
    115115
    116116        wp_safe_redirect( add_query_arg( array( 'id' => $id, $action => $n ), $referer ) );