Skip to content

Add unit tests for is_javascript_script_tag function #18

Closed

Description

@sirreal

The html-api/auto-escape-javascript-json branch adds some new methods: is_javascript_script_tag and is_json_script_tag.

They're well documented referencing the HTML standard.

Create a PR against that branch to add unit tests for these two new methods.

The unit tests should be in a new test file and class:

tests/phpunit/tests/html-api/wpHtmlTagProcessorScriptTag.php

Activity

  1. sirreal commented on Jun 24, 2026

    @sirreal
    OwnerAuthor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions