X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/256a3b381f63716209b3527d0a14442ae570c283..refs/tags/wordpress-3.8.2:/wp-admin/themes.php
diff --git a/wp-admin/themes.php b/wp-admin/themes.php
index 435abfe4..d4a65e7e 100644
--- a/wp-admin/themes.php
+++ b/wp-admin/themes.php
@@ -142,7 +142,7 @@ endif;
$ct = wp_get_theme();
if ( $ct->errors() && ( ! is_multisite() || current_user_can( 'manage_network_themes' ) ) ) {
- echo '
' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '
';
+ echo '' . sprintf( __( 'ERROR: %s' ), $ct->errors()->get_error_message() ) . '
';
}
/*
@@ -191,8 +191,11 @@ if ( ! $ct->errors() || ( 1 == count( $ct->errors()->get_error_codes() )
* This PHP is synchronized with the tmpl-theme template below!
*/
-foreach ( $themes as $theme ) : ?>
-
+foreach ( $themes as $theme ) :
+ $aria_action = esc_attr( $theme['id'] . '-action' );
+ $aria_name = esc_attr( $theme['id'] . '-name' );
+ ?>
+
@@ -200,13 +203,13 @@ foreach ( $themes as $theme ) : ?>
-
+
-
+
-
+
@@ -277,13 +280,13 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_
<# } else { #>
<# } #>
-
+
<# if ( data.active ) { #>
-
{{{ data.name }}}
+
{{{ data.name }}}
<# } else { #>
-
{{{ data.name }}}
+
{{{ data.name }}}
<# } #>
@@ -309,9 +312,9 @@ if ( ! is_multisite() && current_user_can('edit_themes') && $broken_themes = wp_