WordPress.org

Make WordPress Core

Ticket #18936: 18936.patch

File 18936.patch, 584 bytes (added by Viper007Bond, 3 years ago)

Needs testing

  • wp-admin/network/site-themes.php

     
    108108                        } 
    109109                        break; 
    110110        } 
    111          
     111 
    112112        update_option( 'allowedthemes', $allowed_themes ); 
    113113        restore_current_blog(); 
    114          
    115         wp_redirect( add_query_arg( $action, $n, $referer ) ); 
    116         exit;    
     114 
     115        wp_redirect( add_query_arg( array( 'id' => $id, $action => $n ), $referer ) ); 
     116        exit(); 
    117117} 
    118118 
    119119if ( isset( $_GET['action'] ) && 'update-site' == $_GET['action'] ) {