From d14b3fdc0308e5f732dfdd11dd704bebc47b1568 Mon Sep 17 00:00:00 2001 From: Pierre Gordon Date: Fri, 23 Apr 2021 00:37:29 -0400 Subject: [PATCH] Prevent paired browsing client script from being sanitized --- src/Admin/PairedBrowsing.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Admin/PairedBrowsing.php b/src/Admin/PairedBrowsing.php index 4e346a9d65f..b71377aef0b 100644 --- a/src/Admin/PairedBrowsing.php +++ b/src/Admin/PairedBrowsing.php @@ -191,7 +191,7 @@ public function init_client() { // Mark enqueued script for AMP dev mode so that it is not removed. // @todo Revisit with . $dev_mode_handles = array_merge( - [ $handle, 'wp-i18n' ], + [ $handle, 'wp-i18n', 'wp-hooks' ], $dependencies ); add_filter(