Ticket #13775: 13775.patch
| File 13775.patch, 1.1 KB (added by ocean90, 3 years ago) |
|---|
-
wp-admin/ms-edit.php
442 442 if ( is_array( $_POST['theme'] ) ) { 443 443 $themes = get_themes(); 444 444 reset( $themes ); 445 $allowed_themes = array(); 445 446 foreach ( (array) $themes as $key => $theme ) { 446 447 if ( $_POST['theme'][ esc_html( $theme['Stylesheet'] ) ] == 'enabled' ) 447 448 $allowed_themes[ esc_html( $theme['Stylesheet'] ) ] = true; -
wp-admin/ms-themes.php
70 70 $disabled = true; 71 71 } 72 72 ?> 73 <tr valign="top" class="<?php echo $class ,$class1; ?>">73 <tr valign="top" class="<?php echo $class . ' ' . $class1; ?>"> 74 74 <td> 75 75 <label><input name="theme[<?php echo $theme_key ?>]" type="radio" id="enabled_<?php echo $theme_key ?>" value="enabled" <?php checked( $enabled ) ?> /> <?php _e( 'Yes' ) ?></label> 76 76
