X-Git-Url: https://scripts.mit.edu/gitweb/autoinstalls/wordpress.git/blobdiff_plain/e0feb3b2e5b436a06bbb04fbc838d1cd6ec95399..c81aba3d563f7459dc79140e4c5be67bcf506b92:/wp-admin/network/themes.php diff --git a/wp-admin/network/themes.php b/wp-admin/network/themes.php index 2b9132f1..958bd7e9 100644 --- a/wp-admin/network/themes.php +++ b/wp-admin/network/themes.php @@ -53,7 +53,7 @@ if ( $action ) { wp_safe_redirect( add_query_arg( 'error', 'none', $referer ) ); exit; } - foreach( (array) $themes as $theme ) + foreach ( (array) $themes as $theme ) $allowed_themes[ $theme ] = true; update_site_option( 'allowedthemes', $allowed_themes ); wp_safe_redirect( add_query_arg( 'enabled', count( $themes ), $referer ) ); @@ -65,7 +65,7 @@ if ( $action ) { wp_safe_redirect( add_query_arg( 'error', 'none', $referer ) ); exit; } - foreach( (array) $themes as $theme ) + foreach ( (array) $themes as $theme ) unset( $allowed_themes[ $theme ] ); update_site_option( 'allowedthemes', $allowed_themes ); wp_safe_redirect( add_query_arg( 'disabled', count( $themes ), $referer ) ); @@ -251,6 +251,12 @@ get_current_screen()->set_help_sidebar( '

' . __('Support Forums') . '

' ); +get_current_screen()->set_screen_reader_content( array( + 'heading_views' => __( 'Filter themes list' ), + 'heading_pagination' => __( 'Themes list navigation' ), + 'heading_list' => __( 'Themes list' ), +) ); + $title = __('Themes'); $parent_file = 'themes.php';