Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use a more specific
<script>
matching (#23407)
* Use a more specific matching pattern to only affect the `<script>` tags which we're interested in. This uses the full `<script>` produced by `WP_Scripts::do_item()` ignoring the Translations and before/after inline scripts, which allows for it to exclude `<script%` tags contained within the before/after html chunks. * Rename the variable
- Loading branch information