Skip to content

Commit

Permalink
Merge pull request #6099 from ampproject/fix/paired-browsing-client-v…
Browse files Browse the repository at this point in the history
…alidation-error

Prevent paired browsing client script from being sanitized
  • Loading branch information
westonruter committed Apr 23, 2021
2 parents bd9f563 + d14b3fd commit cf7b2b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Admin/PairedBrowsing.php
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ public function init_client() {
// Mark enqueued script for AMP dev mode so that it is not removed.
// @todo Revisit with <https://github.com/google/site-kit-wp/pull/505#discussion_r348683617>.
$dev_mode_handles = array_merge(
[ $handle, 'wp-i18n' ],
[ $handle, 'wp-i18n', 'wp-hooks' ],
$dependencies
);
add_filter(
Expand Down

0 comments on commit cf7b2b3

Please sign in to comment.