From 0d4320fcbc44d91064826aa324c7eab1e4229caa Mon Sep 17 00:00:00 2001 From: Andrew Ozz Date: Wed, 10 Aug 2016 19:03:31 +0000 Subject: [PATCH] Update/Install error messages: do not escape from the template, escape the error message string before inserting it. Props swissspidy, ocean90. Fixes #37623 for trunk. Built from https://develop.svn.wordpress.org/trunk@38240 git-svn-id: http://core.svn.wordpress.org/trunk@38181 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/update.php | 2 +- wp-admin/js/updates.js | 2 +- wp-admin/js/updates.min.js | 2 +- wp-includes/version.php | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-admin/includes/update.php b/wp-admin/includes/update.php index 3bc11d8954..74899e37cb 100644 --- a/wp-admin/includes/update.php +++ b/wp-admin/includes/update.php @@ -631,7 +631,7 @@ function maintenance_nag() { function wp_print_admin_notice_templates() { ?>