diff --git a/wp-admin/plugins.php b/wp-admin/plugins.php index e8133271e1..039f88cd3b 100644 --- a/wp-admin/plugins.php +++ b/wp-admin/plugins.php @@ -168,7 +168,7 @@ require_once('admin-header.php'); $invalid = validate_active_plugins(); if( !empty($invalid) ) foreach($invalid as $plugin_file => $error) - echo '
' . sprintf(__('The plugin %s
has been deactivated due to an error: %s'), $plugin_file, $error->get_error_message()) . '
' . sprintf(__('The plugin %s
has been deactivated due to an error: %s'), wp_specialchars($plugin_file), $error->get_error_message()) . '