mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Docs: Fix some docblock issues introduced in 5.6.
See #51800 git-svn-id: https://develop.svn.wordpress.org/trunk@49787 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
14cda0388b
commit
f92fdb1f78
@ -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.
|
||||
*/
|
||||
|
||||
Loading…
Reference in New Issue
Block a user