Docs: Fix some docblock issues introduced in 5.6.
See #51800 Built from https://develop.svn.wordpress.org/trunk@49787 git-svn-id: http://core.svn.wordpress.org/trunk@49510 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
2808e92c43
commit
1ead0719b7
|
@ -8,6 +8,8 @@
|
|||
/**
|
||||
* Get the generated classname from a given block name.
|
||||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @access private
|
||||
*
|
||||
* @param string $block_name Block Name.
|
||||
|
@ -25,6 +27,8 @@ function wp_get_block_default_classname( $block_name ) {
|
|||
/**
|
||||
* Filters the default block className for server rendered blocks.
|
||||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @param string $class_name The current applied classname.
|
||||
* @param string $block_name The block name.
|
||||
*/
|
||||
|
@ -36,6 +40,8 @@ function wp_get_block_default_classname( $block_name ) {
|
|||
/**
|
||||
* Add the generated classnames to the output.
|
||||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @access private
|
||||
*
|
||||
* @param WP_Block_Type $block_type Block Type.
|
||||
|
|
|
@ -18,7 +18,7 @@ class WP_Application_Passwords {
|
|||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @type string
|
||||
* @var string
|
||||
*/
|
||||
const USERMETA_KEY_APPLICATION_PASSWORDS = '_application_passwords';
|
||||
|
||||
|
@ -27,7 +27,7 @@ class WP_Application_Passwords {
|
|||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @type string
|
||||
* @var string
|
||||
*/
|
||||
const OPTION_KEY_IN_USE = 'using_application_passwords';
|
||||
|
||||
|
@ -36,7 +36,7 @@ class WP_Application_Passwords {
|
|||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @type int
|
||||
* @var int
|
||||
*/
|
||||
const PW_LENGTH = 24;
|
||||
|
||||
|
|
|
@ -1439,6 +1439,8 @@ class WP_REST_Server {
|
|||
/**
|
||||
* Filters the maximum number of requests that can be included in a batch.
|
||||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @param int $max_size The maximum size.
|
||||
*/
|
||||
return apply_filters( 'rest_get_max_batch_size', 25 );
|
||||
|
|
|
@ -70,6 +70,8 @@ class WP_REST_Term_Search_Handler extends WP_REST_Search_Handler {
|
|||
*
|
||||
* Enables adding extra arguments or setting defaults for a term search request.
|
||||
*
|
||||
* @since 5.6.0
|
||||
*
|
||||
* @param array $query_args Key value array of query var to query value.
|
||||
* @param WP_REST_Request $request The request used.
|
||||
*/
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
*
|
||||
* @global string $wp_version
|
||||
*/
|
||||
$wp_version = '5.7-alpha-49786';
|
||||
$wp_version = '5.7-alpha-49787';
|
||||
|
||||
/**
|
||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||
|
|
Loading…
Reference in New Issue