Ticket #15678: bulk_delete_plugin-display_fix.diff
File bulk_delete_plugin-display_fix.diff, 1.1 KB (added by , 15 years ago) |
---|
-
wp-admin/plugins.php
236 236 foreach ( $plugin_info as $plugin ) { 237 237 if ( $plugin['is_uninstallable'] ) { 238 238 /* translators: 1: plugin name, 2: plugin author */ 239 echo '<li>', sprintf( __( '<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>)' ), esc_html($plugin['Name']), esc_html($plugin['Author']) ), '</li>';239 echo '<li>', sprintf( __( '<strong>%1$s</strong> by <em>%2$s</em> (will also <strong>delete its data</strong>)' ), strip_tags($plugin['Name']), strip_tags($plugin['Author']) ), '</li>'; 240 240 $data_to_delete = true; 241 241 } else { 242 242 /* translators: 1: plugin name, 2: plugin author */ 243 echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em>' ), esc_html($plugin['Name']), esc_html($plugin['Author']) ), '</li>';243 echo '<li>', sprintf( __('<strong>%1$s</strong> by <em>%2$s</em>' ), strip_tags($plugin['Name']), strip_tags($plugin['Author']) ), '</li>'; 244 244 } 245 245 } 246 246 ?>