mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Tests: Add test class for wp_enqueue_stored_styles()
.
[54214] added the `wp_enqueue_stored_styles()` tests and `clean_up_global_scope()` reset global method to `Tests_Theme_wpGetGlobalStylesheet`. This changeset relocates those tests a new test class specifically for `wp_enqueue_stored_styles()` and removes `Tests_Theme_wpGetGlobalStylesheet::clean_up_global_scope()` method. Why not relocate the `clean_up_global_scope()` method to the new test class? The test class extends from `WP_Theme_UnitTestCase` which includes this method. Follow-up to [54214], [54703]. Props costdev. See #57841. Built from https://develop.svn.wordpress.org/trunk@55567 git-svn-id: http://core.svn.wordpress.org/trunk@55079 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
fc43b28dec
commit
69a5893569
@ -16,7 +16,7 @@
|
||||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '6.3-alpha-55566';
|
||||
$wp_version = '6.3-alpha-55567';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
Loading…
Reference in New Issue
Block a user