From e6e56a9a445f393d13613c9a5015698ffabc0be3 Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 14 Nov 2010 18:38:55 +0000 Subject: [PATCH] Some escaping git-svn-id: http://svn.automattic.com/wordpress/branches/3.0@16373 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 bed5d5f6df..8ea2d8e6a0 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -255,11 +255,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']) ), '
  • '; } } ?> @@ -289,7 +289,7 @@ if ( !empty($action) ) {