mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-14 09:34:41 +00:00
Changes: * Adds a test class for `wp_script_is()`. * Moves `WP_Dependencies_jQuery::test_wp_script_is_dep_enqueued()` into this test class and splits it into 2 separate tests, happy and unhappy paths. * Adds `WP_Scripts::query` `@covers`, as `wp_script_is()` is helper function for it. * Relocates the global resetting from the test method to the `clean_up_global_scope()` method. Follow-up to [52010], [29252]. Props hellofromTonya, antonvlasenko. See #57841, #57958. git-svn-id: https://develop.svn.wordpress.org/trunk@55565 602fd350-edb4-49c9-b593-d223f7449a82