Warning and styling fixes. Props ocean90. fixes #13775
git-svn-id: https://develop.svn.wordpress.org/trunk@15179 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
9537ce264c
commit
8dc054b4ed
@ -442,6 +442,7 @@ switch ( $_GET['action'] ) {
|
||||
if ( is_array( $_POST['theme'] ) ) {
|
||||
$themes = get_themes();
|
||||
reset( $themes );
|
||||
$allowed_themes = array();
|
||||
foreach ( (array) $themes as $key => $theme ) {
|
||||
if ( $_POST['theme'][ esc_html( $theme['Stylesheet'] ) ] == 'enabled' )
|
||||
$allowed_themes[ esc_html( $theme['Stylesheet'] ) ] = true;
|
||||
|
@ -70,7 +70,7 @@ $allowed_themes = get_site_allowed_themes();
|
||||
$disabled = true;
|
||||
}
|
||||
?>
|
||||
<tr valign="top" class="<?php echo $class, $class1; ?>">
|
||||
<tr valign="top" class="<?php echo $class . ' ' . $class1; ?>">
|
||||
<td>
|
||||
<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>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user