diff --git a/wp-admin/includes/class-wp-plugin-install-list-table.php b/wp-admin/includes/class-wp-plugin-install-list-table.php index 1f809b37ab..71337eb996 100644 --- a/wp-admin/includes/class-wp-plugin-install-list-table.php +++ b/wp-admin/includes/class-wp-plugin-install-list-table.php @@ -227,11 +227,11 @@ class WP_Plugin_Install_List_Table extends WP_List_Table { else $star_url = admin_url( 'images/star.png?v=20110615' ); // 'Classic' Blue star ?> -
<?php _e( '5 stars' ) ?>
-
<?php _e( '4 stars' ) ?>
-
<?php _e( '3 stars' ) ?>
-
<?php _e( '2 stars' ) ?>
-
<?php _e( '1 star' ) ?>
+
<?php esc_attr_e( '5 stars' ) ?>
+
<?php esc_attr_e( '4 stars' ) ?>
+
<?php esc_attr_e( '3 stars' ) ?>
+
<?php esc_attr_e( '2 stars' ) ?>
+
<?php esc_attr_e( '1 star' ) ?>
> diff --git a/wp-admin/includes/class-wp-posts-list-table.php b/wp-admin/includes/class-wp-posts-list-table.php index 675780a66d..35b2f17b33 100644 --- a/wp-admin/includes/class-wp-posts-list-table.php +++ b/wp-admin/includes/class-wp-posts-list-table.php @@ -1030,12 +1030,12 @@ class WP_Posts_List_Table extends WP_List_Table { } ?>

- + - + 's' ) ); diff --git a/wp-admin/includes/class-wp-terms-list-table.php b/wp-admin/includes/class-wp-terms-list-table.php index df8419b22f..fc4bfe4d3c 100644 --- a/wp-admin/includes/class-wp-terms-list-table.php +++ b/wp-admin/includes/class-wp-terms-list-table.php @@ -362,7 +362,7 @@ class WP_Terms_List_Table extends WP_List_Table { ?>

- + labels->update_item; ?> diff --git a/wp-admin/includes/nav-menu.php b/wp-admin/includes/nav-menu.php index c93a886bed..ba78a17aed 100644 --- a/wp-admin/includes/nav-menu.php +++ b/wp-admin/includes/nav-menu.php @@ -115,7 +115,7 @@ class Walker_Nav_Menu_Edit extends Walker_Nav_Menu { ); ?>" class="item-move-down"> - diff --git a/wp-admin/includes/plugin-install.php b/wp-admin/includes/plugin-install.php index d0f6c4150f..b174961896 100644 --- a/wp-admin/includes/plugin-install.php +++ b/wp-admin/includes/plugin-install.php @@ -329,11 +329,11 @@ function install_plugin_information() {

-
<?php _e('5 stars') ?>
-
<?php _e('4 stars') ?>
-
<?php _e('3 stars') ?>
-
<?php _e('2 stars') ?>
-
<?php _e('1 star') ?>
+
<?php esc_attr_e('5 stars') ?>
+
<?php esc_attr_e('4 stars') ?>
+
<?php esc_attr_e('3 stars') ?>
+
<?php esc_attr_e('2 stars') ?>
+
<?php esc_attr_e('1 star') ?>
num_ratings), number_format_i18n($api->num_ratings)); ?> diff --git a/wp-admin/includes/theme-install.php b/wp-admin/includes/theme-install.php index da04a451b6..9171daba44 100644 --- a/wp-admin/includes/theme-install.php +++ b/wp-admin/includes/theme-install.php @@ -172,11 +172,11 @@ function display_theme($theme, $actions = null, $show_details = true) {
-
<?php _e('5 stars') ?>
-
<?php _e('4 stars') ?>
-
<?php _e('3 stars') ?>
-
<?php _e('2 stars') ?>
-
<?php _e('1 star') ?>
+
<?php esc_attr_e('5 stars') ?>
+
<?php esc_attr_e('4 stars') ?>
+
<?php esc_attr_e('3 stars') ?>
+
<?php esc_attr_e('2 stars') ?>
+
<?php esc_attr_e('1 star') ?>
- .domain );?> + .domain );?> domain . $current_site->path ?> + echo $current_site->domain . $current_site->path ?> ' . __( 'Only the characters a-z and 0-9 recommended.' ) . '

'; ?> @@ -127,11 +127,11 @@ if ( ! empty( $messages ) ) { - + - +
diff --git a/wp-admin/press-this.php b/wp-admin/press-this.php index 18f4acd795..2960e849a5 100644 --- a/wp-admin/press-this.php +++ b/wp-admin/press-this.php @@ -431,7 +431,7 @@ var photostorage = false;
-

+

@@ -465,7 +465,7 @@ var photostorage = false;

-

+

@@ -515,7 +515,7 @@ var photostorage = false;
-

+

@@ -592,12 +592,12 @@ var photostorage = false; if ( current_user_can('upload_files') ) { ?> - - <?php _e('Insert an Image'); ?> + + <?php esc_attr_e('Insert an Image'); ?> - <?php _e('Embed a Video'); ?> + <?php esc_attr_e('Embed a Video'); ?> - +

screenshot ) : ?> -<?php _e('Current theme preview'); ?> +<?php esc_attr_e('Current theme preview'); ?>

diff --git a/wp-includes/js/tinymce/wp-mce-help.php b/wp-includes/js/tinymce/wp-mce-help.php index f0de6e11e6..8a5e78124f 100644 --- a/wp-includes/js/tinymce/wp-mce-help.php +++ b/wp-includes/js/tinymce/wp-mce-help.php @@ -196,10 +196,10 @@ wp_admin_css( 'wp-admin', true );
    -
  • -
  • -
  • -
  • +
  • +
  • +
  • +
@@ -272,7 +272,7 @@ wp_admin_css( 'wp-admin', true );

TinyMCE website.') ?>

- <?php _e('Got Moxie?') ?> + <?php esc_attr_e('Got Moxie?') ?>
@@ -280,7 +280,7 @@ wp_admin_css( 'wp-admin', true );
- +
diff --git a/wp-includes/theme-compat/comments-popup.php b/wp-includes/theme-compat/comments-popup.php index 2e59317ddb..de4c1e9e71 100644 --- a/wp-includes/theme-compat/comments-popup.php +++ b/wp-includes/theme-compat/comments-popup.php @@ -95,7 +95,7 @@ if ( post_password_required($post) ) { // and it doesn't match the cookie

" /> - +

ID); ?> diff --git a/wp-includes/theme-compat/comments.php b/wp-includes/theme-compat/comments.php index c6fbb7fcd4..5bbfe15790 100644 --- a/wp-includes/theme-compat/comments.php +++ b/wp-includes/theme-compat/comments.php @@ -70,7 +70,7 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3. -

%2$s.'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?>

+

%2$s.'), get_option('siteurl') . '/wp-admin/profile.php', $user_identity); ?>

@@ -89,7 +89,7 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3.

-

+

ID); ?> diff --git a/wp-includes/theme-compat/sidebar.php b/wp-includes/theme-compat/sidebar.php index 9c8cf5b297..c703949c19 100644 --- a/wp-includes/theme-compat/sidebar.php +++ b/wp-includes/theme-compat/sidebar.php @@ -70,9 +70,9 @@ _deprecated_file( sprintf( __( 'Theme without %1$s' ), basename(__FILE__) ), '3. diff --git a/wp-login.php b/wp-login.php index 8e7b79e28a..ee83dac22c 100644 --- a/wp-login.php +++ b/wp-login.php @@ -530,7 +530,7 @@ case 'register' : | - + - +