From 402bd5d1e2197476eb5fcb355592aa69a92635f4 Mon Sep 17 00:00:00 2001 From: ryan Date: Mon, 23 Aug 2010 13:25:51 +0000 Subject: [PATCH] Some escaping git-svn-id: http://svn.automattic.com/wordpress/trunk@15521 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 e1637cad8..46ae68c72 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) ) {