Make WordPress Core


Ignore:
Timestamp:
01/26/2026 01:21:56 PM (10 months ago)
Author:
jonsurrell
Message:

Build/Test Tools: Clean obsolete non-HTML5 tests.

Support for non-HTML5 scripts was removed in [61415]. Removes obsolete tests and references to the non-HTML5 script behaviors including CDATA wrappers and type attributes.

Developed in ​https://github.com/WordPress/wordpress-develop/pull/10740.

Follow-up to [61415].

Props jonsurrell, westonruter, mukesh27.
Fixes #64442.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/dependencies/wpLocalizeScript.php

    r60719 r61526  
    4747         */
    4848        public function test_wp_localize_script_outputs_safe_json() {
    49                 add_theme_support( 'html5', array( 'script' ) );
    50 
    5149                $path     = '/test.js';
    5250                $base_url = site_url( $path );
Note: See TracChangeset for help on using the changeset viewer.