mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 17:20:07 +00:00
Docs: Some documentation and test improvements for WP_Theme_JSON and WP_Theme_JSON_Resolver classes:
* Add missing `@since` tags. * Update some DocBlocks per the documentation standards. * Rename test files and classes per the naming conventions. * Fix some code alignment issues reported by WPCS. Follow-up to [50959], [50960]. See #52991, #53175. git-svn-id: https://develop.svn.wordpress.org/trunk@50967 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -1,8 +1,14 @@
|
||||
<?php
|
||||
/**
|
||||
/**
|
||||
* Test WP_Theme class.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Theme
|
||||
*
|
||||
* @group themes
|
||||
*/
|
||||
class Tests_Theme_WPTheme extends WP_UnitTestCase {
|
||||
class Tests_Theme_wpTheme extends WP_UnitTestCase {
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
$this->theme_root = realpath( DIR_TESTDATA . '/themedir1' );
|
||||
@@ -4,10 +4,13 @@
|
||||
* Test WP_Theme_JSON class.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Theme
|
||||
* @since 5.8.0
|
||||
*
|
||||
* @group themes
|
||||
*/
|
||||
|
||||
class WP_Theme_JSON_Test extends WP_UnitTestCase {
|
||||
class Tests_Theme_wpThemeJson extends WP_UnitTestCase {
|
||||
|
||||
/**
|
||||
* @ticket 52991
|
||||
@@ -4,10 +4,12 @@
|
||||
* Test WP_Theme_JSON_Resolver class.
|
||||
*
|
||||
* @package WordPress
|
||||
* @subpackage Theme
|
||||
* @since 5.8.0
|
||||
*
|
||||
* @group themes
|
||||
*/
|
||||
|
||||
class WP_Theme_JSON_Resolver_Test extends WP_UnitTestCase {
|
||||
class Tests_Theme_wpThemeJsonResolver extends WP_UnitTestCase {
|
||||
|
||||
function setUp() {
|
||||
parent::setUp();
|
||||
Reference in New Issue
Block a user