Docs: Correct some docblock formatting errors.

Fixes #59784

See #12009, #52710

Built from https://develop.svn.wordpress.org/trunk@57046


git-svn-id: http://core.svn.wordpress.org/trunk@56557 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
John Blackbourn 2023-11-01 15:10:20 +00:00
parent 52a22941a5
commit af66c304f8
3 changed files with 10 additions and 10 deletions

View File

@ -179,7 +179,7 @@ class WP_Term_Query {
* Default false. * Default false.
* @type string $cache_domain Unique cache key to be produced when this query is stored in * @type string $cache_domain Unique cache key to be produced when this query is stored in
* an object cache. Default 'core'. * an object cache. Default 'core'.
* @type bool $cache_results Whether to cache term information. Default true. * @type bool $cache_results Whether to cache term information. Default true.
* @type bool $update_term_meta_cache Whether to prime meta caches for matched terms. Default true. * @type bool $update_term_meta_cache Whether to prime meta caches for matched terms. Default true.
* @type string|string[] $meta_key Meta key or keys to filter by. * @type string|string[] $meta_key Meta key or keys to filter by.
* @type string|string[] $meta_value Meta value or values to filter by. * @type string|string[] $meta_value Meta value or values to filter by.

View File

@ -168,11 +168,11 @@ function wp_add_inline_script( $handle, $data, $position = 'after' ) {
* number is automatically added equal to current installed WordPress version. * number is automatically added equal to current installed WordPress version.
* If set to null, no version is added. * If set to null, no version is added.
* @param array|bool $args { * @param array|bool $args {
* Optional. An array of additional script loading strategies. Default empty array. * Optional. An array of additional script loading strategies. Default empty array.
* Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false. * Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false.
* *
* @type string $strategy Optional. If provided, may be either 'defer' or 'async'. * @type string $strategy Optional. If provided, may be either 'defer' or 'async'.
* @type bool $in_footer Optional. Whether to print the script in the footer. Default 'false'. * @type bool $in_footer Optional. Whether to print the script in the footer. Default 'false'.
* } * }
* @return bool Whether the script has been registered. True on success, false on failure. * @return bool Whether the script has been registered. True on success, false on failure.
*/ */
@ -355,11 +355,11 @@ function wp_deregister_script( $handle ) {
* number is automatically added equal to current installed WordPress version. * number is automatically added equal to current installed WordPress version.
* If set to null, no version is added. * If set to null, no version is added.
* @param array|bool $args { * @param array|bool $args {
* Optional. An array of additional script loading strategies. Default empty array. * Optional. An array of additional script loading strategies. Default empty array.
* Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false. * Otherwise, it may be a boolean in which case it determines whether the script is printed in the footer. Default false.
* *
* @type string $strategy Optional. If provided, may be either 'defer' or 'async'. * @type string $strategy Optional. If provided, may be either 'defer' or 'async'.
* @type bool $in_footer Optional. Whether to print the script in the footer. Default 'false'. * @type bool $in_footer Optional. Whether to print the script in the footer. Default 'false'.
* } * }
*/ */
function wp_enqueue_script( $handle, $src = '', $deps = array(), $ver = false, $args = array() ) { function wp_enqueue_script( $handle, $src = '', $deps = array(), $ver = false, $args = array() ) {

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.5-alpha-57044'; $wp_version = '6.5-alpha-57046';
/** /**
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema. * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.