Ticket #21270: 21270.diff
| File 21270.diff, 481 bytes (added by jeremyfelt, 10 months ago) |
|---|
| Line | |
|---|---|
| 1 | Index: wp-admin/network/site-themes.php |
| 2 | =================================================================== |
| 3 | --- wp-admin/network/site-themes.php (revision 21272) |
| 4 | +++ wp-admin/network/site-themes.php (working copy) |
| 5 | @@ -110,7 +110,7 @@ |
| 6 | break; |
| 7 | } |
| 8 | |
| 9 | - update_option( 'allowedthemes', $allowed_themes ); |
| 10 | + update_blog_option( $id, 'allowedthemes', $allowed_themes ); |
| 11 | restore_current_blog(); |
| 12 | |
| 13 | wp_safe_redirect( add_query_arg( array( 'id' => $id, $action => $n ), $referer ) ); |
