From 5333ea1f91892d3bf9c601404315dde4d273a1f2 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Wed, 1 Nov 2023 15:08:10 +0000 Subject: [PATCH] Docs: Correct some docblock formatting errors. Fixes #59784 See #12009, #52710 git-svn-id: https://develop.svn.wordpress.org/trunk@57046 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-term-query.php | 2 +- src/wp-includes/functions.wp-scripts.php | 16 ++++++++-------- 2 files changed, 9 insertions(+), 9 deletions(-) diff --git a/src/wp-includes/class-wp-term-query.php b/src/wp-includes/class-wp-term-query.php index fc6e950c21..1fa73d48ab 100644 --- a/src/wp-includes/class-wp-term-query.php +++ b/src/wp-includes/class-wp-term-query.php @@ -179,7 +179,7 @@ class WP_Term_Query { * Default false. * @type string $cache_domain Unique cache key to be produced when this query is stored in * 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 string|string[] $meta_key Meta key or keys to filter by. * @type string|string[] $meta_value Meta value or values to filter by. diff --git a/src/wp-includes/functions.wp-scripts.php b/src/wp-includes/functions.wp-scripts.php index 269e875e80..1207502c44 100644 --- a/src/wp-includes/functions.wp-scripts.php +++ b/src/wp-includes/functions.wp-scripts.php @@ -168,11 +168,11 @@ function wp_add_inline_script( $handle, $data, $position = 'after' ) { * number is automatically added equal to current installed WordPress version. * If set to null, no version is added. * @param array|bool $args { - * 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. + * 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. * - * @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 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'. * } * @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. * If set to null, no version is added. * @param array|bool $args { - * 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. + * 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. * - * @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 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'. * } */ function wp_enqueue_script( $handle, $src = '', $deps = array(), $ver = false, $args = array() ) {