From 2ad9bf2abee0e5f0344ea9e9b5651fdefc5226fe Mon Sep 17 00:00:00 2001 From: Ryan Boren Date: Mon, 23 Aug 2010 13:25:51 +0000 Subject: [PATCH] Some escaping git-svn-id: https://develop.svn.wordpress.org/trunk@15521 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-admin/plugins.php | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index e1637cad8a..46ae68c72b 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -238,11 +238,11 @@ if ( !empty($action) ) { foreach ( $plugin_info as $plugin ) { if ( $plugin['is_uninstallable'] ) { /* translators: 1: plugin name, 2: plugin author */ - echo '
  • ', sprintf( __( '%1$s by %2$s (will also delete its data)' ), $plugin['Name'], $plugin['Author'] ), '
  • '; + echo '
  • ', sprintf( __( '%1$s by %2$s (will also delete its data)' ), esc_html($plugin['Name']), esc_html($plugin['Author']) ), '
  • '; $data_to_delete = true; } else { /* translators: 1: plugin name, 2: plugin author */ - echo '
  • ', sprintf( __('%1$s by %2$s' ), $plugin['Name'], $plugin['Author'] ), '
  • '; + echo '
  • ', sprintf( __('%1$s by %2$s' ), esc_html($plugin['Name']), esc_html($plugin['Author']) ), '
  • '; } } ?> @@ -272,7 +272,7 @@ if ( !empty($action) ) {