Ticket #15593: 15593.wpmu_update_blog_options.patch
File 15593.wpmu_update_blog_options.patch, 1.3 KB (added by , 14 years ago) |
---|
-
wp-admin/network/site-options.php
44 44 update_option( $key, stripslashes( $val ), false ); // no need to refresh blog details yet 45 45 $c++; 46 46 } 47 47 do_action( 'wpmu_update_blog_options' ); 48 48 restore_current_blog(); 49 49 wp_redirect( add_query_arg( array( 'update' => 'updated', 'id' => $id ), 'site-options.php') ); 50 50 } -
wp-admin/network/site-users.php
129 129 } 130 130 break; 131 131 } 132 132 133 do_action( 'wpmu_update_blog_options' ); 133 134 restore_current_blog(); 134 135 wp_redirect( add_query_arg( 'update', $update, wp_get_referer() ) ); 135 136 exit(); -
wp-admin/network/site-themes.php
76 76 unset( $allowed_themes[ $theme ] ); 77 77 break; 78 78 } 79 79 80 do_action( 'wpmu_update_blog_options' ); 80 81 update_option( 'allowedthemes', $allowed_themes ); 81 82 restore_current_blog(); 82 83