Docs: Miscellaneous DocBlock corrections.
See #49572. git-svn-id: https://develop.svn.wordpress.org/trunk@48365 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
67a72d98d9
commit
b88a906e5e
@ -33,7 +33,8 @@ final class WP_Block_Patterns_Registry {
|
||||
* @since 5.5.0
|
||||
*
|
||||
* @param string $pattern_name Pattern name including namespace.
|
||||
* @param array $pattern_properties Array containing the properties of the pattern: title, content, description, viewportWidth, categories, keywords.
|
||||
* @param array $pattern_properties Array containing the properties of the pattern: title,
|
||||
* content, description, viewportWidth, categories, keywords.
|
||||
* @return bool True if the pattern was registered with success and false otherwise.
|
||||
*/
|
||||
public function register( $pattern_name, $pattern_properties ) {
|
||||
|
@ -1460,8 +1460,10 @@ class Tests_REST_API extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider _dp_rest_is_object
|
||||
* @ticket 50300
|
||||
*
|
||||
* @dataProvider _dp_rest_is_object
|
||||
*
|
||||
* @param bool $expected Expected result of the check.
|
||||
* @param mixed $value The value to check.
|
||||
*/
|
||||
@ -1521,8 +1523,10 @@ class Tests_REST_API extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 50300
|
||||
*
|
||||
* @dataProvider _dp_rest_sanitize_object
|
||||
* @ticket 50300
|
||||
*
|
||||
* @param array $expected Expected sanitized version.
|
||||
* @param mixed $value The value to sanitize.
|
||||
*/
|
||||
@ -1577,8 +1581,10 @@ class Tests_REST_API extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider _dp_rest_is_array
|
||||
* @ticket 50300
|
||||
*
|
||||
* @dataProvider _dp_rest_is_array
|
||||
*
|
||||
* @param bool $expected Expected result of the check.
|
||||
* @param mixed $value The value to check.
|
||||
*/
|
||||
@ -1646,8 +1652,10 @@ class Tests_REST_API extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 50300
|
||||
*
|
||||
* @dataProvider _dp_rest_sanitize_array
|
||||
* @ticket 50300
|
||||
*
|
||||
* @param array $expected Expected sanitized version.
|
||||
* @param mixed $value The value to sanitize.
|
||||
*/
|
||||
@ -1714,8 +1722,10 @@ class Tests_REST_API extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @dataProvider _dp_get_best_type_for_value
|
||||
* @ticket 50300
|
||||
*
|
||||
* @dataProvider _dp_get_best_type_for_value
|
||||
*
|
||||
* @param string $expected The expected best type.
|
||||
* @param mixed $value The value to test.
|
||||
* @param array $types The list of available types.
|
||||
|
@ -507,7 +507,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_property
|
||||
*/
|
||||
@ -535,7 +535,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_property
|
||||
*/
|
||||
@ -577,7 +577,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_nested_property
|
||||
*/
|
||||
@ -610,7 +610,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_nested_property
|
||||
*/
|
||||
@ -669,7 +669,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_deeply_nested_property
|
||||
*/
|
||||
@ -709,7 +709,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_deeply_nested_property
|
||||
*/
|
||||
@ -749,7 +749,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48818
|
||||
* @ticket 48818
|
||||
*
|
||||
* @dataProvider data_required_deeply_nested_property
|
||||
*/
|
||||
@ -907,7 +907,7 @@ class WP_Test_REST_Schema_Validation extends WP_UnitTestCase {
|
||||
}
|
||||
|
||||
/**
|
||||
* @ticket 48821
|
||||
* @ticket 48821
|
||||
*
|
||||
* @dataProvider data_unique_items
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user