diff --git src/wp-admin/includes/update.php src/wp-admin/includes/update.php
index 3bc11d8..74899e3 100644
|
|
function maintenance_nag() { |
631 | 631 | function wp_print_admin_notice_templates() { |
632 | 632 | ?> |
633 | 633 | <script id="tmpl-wp-updates-admin-notice" type="text/html"> |
634 | | <div <# if ( data.id ) { #>id="{{ data.id }}"<# } #> class="notice {{ data.className }}"><p>{{ data.message }}</p></div> |
| 634 | <div <# if ( data.id ) { #>id="{{ data.id }}"<# } #> class="notice {{ data.className }}"><p>{{{ data.message }}}</p></div> |
635 | 635 | </script> |
636 | 636 | <script id="tmpl-wp-bulk-updates-admin-notice" type="text/html"> |
637 | 637 | <div id="{{ data.id }}" class="{{ data.className }} notice <# if ( data.errors ) { #>notice-error<# } else { #>notice-success<# } #>"> |
diff --git src/wp-admin/js/updates.js src/wp-admin/js/updates.js
index ac6e2cf..36ad89f 100644
|
|
|
1608 | 1608 | wp.updates.addAdminNotice( { |
1609 | 1609 | id: 'unknown_error', |
1610 | 1610 | className: 'notice-error is-dismissible', |
1611 | | message: errorMessage |
| 1611 | message: $( '<p />' ).html( errorMessage ).text() |
1612 | 1612 | } ); |
1613 | 1613 | |
1614 | 1614 | // Remove the lock, and clear the queue. |