Make WordPress Core

Changeset 48325


Ignore:
Timestamp:
07/05/2020 08:27:52 PM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Fix typos in comments in tests/dependencies/jquery.php.

Props hareesh-pillai.
See #49572.

File:
1 edited

Legend:

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

    r48324 r48325  
    2424
    2525        // As of 5.5 jQuery 1.12.4 is loaded without Migrate 1.4.1.
    26         // Disable, but keep the followint test for 5.6 when jQuery would be updated to 3.5.1+ and
     26        // Disable, but keep the following test for 5.6 when jQuery would be updated to 3.5.1+ and
    2727        // the latest Migrate will be used.
    2828        /*
     
    120120        }
    121121
    122         // Match only one script tag fopr 5.5, revert to `{2}` for 5.6.
    123         $this->expectOutputRegex( '/^(?:<script[^>]+><\/script>\\n)$/' );
     122        // Match only one script tag for 5.5, revert to `{2}` for 5.6.
     123        $this->expectOutputRegex( '/^(?:<script[^>]+><\/script>\\n){1}$/' );
    124124
    125125        $scripts->do_items( false, 0 );
Note: See TracChangeset for help on using the changeset viewer.