mirror of
git://develop.git.wordpress.org/
synced 2025-04-07 13:43:25 +02:00
Docs: Correct some docblock formatting errors.
Reviewed by hellofromTonya. Merges [57046] to the 6.4 branch. Fixes #59784 git-svn-id: https://develop.svn.wordpress.org/branches/6.4@57047 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
46822ca500
commit
973e38b2b0
@ -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.
|
||||
|
@ -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() ) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user