Customize: Remove selective refresh error message from appearing inline within the preview.

The error message will still be available in the developer console.

Removes part of [36586].
See #27355.
Fixes #36164.


git-svn-id: https://develop.svn.wordpress.org/trunk@36890 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Weston Ruter
2016-03-09 04:36:51 +00:00
parent dcbbeffc57
commit c2c1c3fd3a
3 changed files with 0 additions and 18 deletions

View File

@@ -182,8 +182,6 @@ final class WP_Customize_Selective_Refresh {
'renderQueryVar' => self::RENDER_QUERY_VAR,
'l10n' => array(
'shiftClickToEdit' => __( 'Shift-click to edit this element.' ),
/* translators: %s: message from JS error */
'errorMessageTpl' => __( 'Script error: %s' ),
/* translators: %s: document.write() */
'badDocumentWrite' => sprintf( __( '%s is forbidden' ), 'document.write()' ),
),