Docs: Correct method reference format in some DocBlocks.

This ensures that the methods are recognized by the WordPress Code Reference parser.

Follow-up to [7994], [25567], [27156], [28887], [49672], [52226].

Props dd32, audrasjb.
Fixes #55928.
Built from https://develop.svn.wordpress.org/trunk@53469


git-svn-id: http://core.svn.wordpress.org/trunk@53058 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
Sergey Biryukov 2022-06-06 10:51:12 +00:00
parent 1ce3b1ae3b
commit a29a0e05d1
9 changed files with 30 additions and 30 deletions

View File

@ -168,15 +168,15 @@ class WP_Comment_Query {
* @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.
* @type string $meta_compare MySQL operator used for comparing the meta value. * @type string $meta_compare MySQL operator used for comparing the meta value.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_compare_key MySQL operator used for comparing the meta key. * @type string $meta_compare_key MySQL operator used for comparing the meta key.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons. * @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons. * @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type array $meta_query An associative array of WP_Meta_Query arguments. * @type array $meta_query An associative array of WP_Meta_Query arguments.
* See WP_Meta_Query::__construct for accepted values. * See WP_Meta_Query::__construct() for accepted values.
* @type int $number Maximum number of comments to retrieve. * @type int $number Maximum number of comments to retrieve.
* Default empty (no limit). * Default empty (no limit).
* @type int $paged When used with `$number`, defines the page of results to return. * @type int $paged When used with `$number`, defines the page of results to return.

View File

@ -17,7 +17,7 @@ class WP_Http_Streams {
/** /**
* Send a HTTP request to a URI using PHP Streams. * Send a HTTP request to a URI using PHP Streams.
* *
* @see WP_Http::request For default options descriptions. * @see WP_Http::request() For default options descriptions.
* *
* @since 2.7.0 * @since 2.7.0
* @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client(). * @since 3.7.0 Combined with the fsockopen transport and switched to stream_socket_client().

View File

@ -668,15 +668,15 @@ class WP_Query {
* @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.
* @type string $meta_compare MySQL operator used for comparing the meta value. * @type string $meta_compare MySQL operator used for comparing the meta value.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_compare_key MySQL operator used for comparing the meta key. * @type string $meta_compare_key MySQL operator used for comparing the meta key.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons. * @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons. * @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type array $meta_query An associative array of WP_Meta_Query arguments. * @type array $meta_query An associative array of WP_Meta_Query arguments.
* See WP_Meta_Query::__construct for accepted values. * See WP_Meta_Query::__construct() for accepted values.
* @type int $menu_order The menu order of the posts. * @type int $menu_order The menu order of the posts.
* @type int $minute Minute of the hour. Default empty. Accepts numbers 0-59. * @type int $minute Minute of the hour. Default empty. Accepts numbers 0-59.
* @type int $monthnum The two-digit month. Default empty. Accepts numbers 1-12. * @type int $monthnum The two-digit month. Default empty. Accepts numbers 1-12.
@ -752,7 +752,7 @@ class WP_Query {
* @type string[] $tag_slug__in An array of tag slugs (OR in). unless 'ignore_sticky_posts' is * @type string[] $tag_slug__in An array of tag slugs (OR in). unless 'ignore_sticky_posts' is
* true. Note: a string of comma-separated IDs will NOT work. * true. Note: a string of comma-separated IDs will NOT work.
* @type array $tax_query An associative array of WP_Tax_Query arguments. * @type array $tax_query An associative array of WP_Tax_Query arguments.
* See WP_Tax_Query->__construct(). * See WP_Tax_Query::__construct().
* @type string $title Post title. * @type string $title Post title.
* @type bool $update_post_meta_cache Whether to update the post meta cache. Default true. * @type bool $update_post_meta_cache Whether to update the post meta cache. Default true.
* @type bool $update_post_term_cache Whether to update the post term cache. Default true. * @type bool $update_post_term_cache Whether to update the post term cache. Default true.

View File

@ -173,15 +173,15 @@ class WP_Site_Query {
* @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.
* @type string $meta_compare MySQL operator used for comparing the meta value. * @type string $meta_compare MySQL operator used for comparing the meta value.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_compare_key MySQL operator used for comparing the meta key. * @type string $meta_compare_key MySQL operator used for comparing the meta key.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons. * @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons. * @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type array $meta_query An associative array of WP_Meta_Query arguments. * @type array $meta_query An associative array of WP_Meta_Query arguments.
* See WP_Meta_Query::__construct for accepted values. * See WP_Meta_Query::__construct() for accepted values.
* } * }
*/ */
public function __construct( $query = '' ) { public function __construct( $query = '' ) {

View File

@ -181,15 +181,15 @@ class WP_Term_Query {
* @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.
* @type string $meta_compare MySQL operator used for comparing the meta value. * @type string $meta_compare MySQL operator used for comparing the meta value.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_compare_key MySQL operator used for comparing the meta key. * @type string $meta_compare_key MySQL operator used for comparing the meta key.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons. * @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons. * @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type array $meta_query An associative array of WP_Meta_Query arguments. * @type array $meta_query An associative array of WP_Meta_Query arguments.
* See WP_Meta_Query::__construct for accepted values. * See WP_Meta_Query::__construct() for accepted values.
* } * }
*/ */
public function __construct( $query = '' ) { public function __construct( $query = '' ) {

View File

@ -157,15 +157,15 @@ class WP_User_Query {
* @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.
* @type string $meta_compare MySQL operator used for comparing the meta value. * @type string $meta_compare MySQL operator used for comparing the meta value.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_compare_key MySQL operator used for comparing the meta key. * @type string $meta_compare_key MySQL operator used for comparing the meta key.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons. * @type string $meta_type MySQL data type that the meta_value column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons. * @type string $meta_type_key MySQL data type that the meta_key column will be CAST to for comparisons.
* See WP_Meta_Query::__construct for accepted values and default value. * See WP_Meta_Query::__construct() for accepted values and default value.
* @type array $meta_query An associative array of WP_Meta_Query arguments. * @type array $meta_query An associative array of WP_Meta_Query arguments.
* See WP_Meta_Query::__construct for accepted values. * See WP_Meta_Query::__construct() for accepted values.
* @type string|string[] $capability An array or a comma-separated list of capability names that users must match * @type string|string[] $capability An array or a comma-separated list of capability names that users must match
* to be included in results. Note that this is an inclusive list: users * to be included in results. Note that this is an inclusive list: users
* must match *each* capability. * must match *each* capability.

View File

@ -2033,7 +2033,7 @@ function comment_form_title( $no_reply_text = false, $reply_text = false, $link_
* *
* @since 2.7.0 * @since 2.7.0
* *
* @see WP_Query->comments * @see WP_Query::$comments
* *
* @global WP_Query $wp_query WordPress Query object. * @global WP_Query $wp_query WordPress Query object.
* @global int $comment_alt * @global int $comment_alt

View File

@ -4559,7 +4559,7 @@ function register_admin_color_schemes() {
/** /**
* Displays the URL of a WordPress admin CSS file. * Displays the URL of a WordPress admin CSS file.
* *
* @see WP_Styles::_css_href and its {@see 'style_loader_src'} filter. * @see WP_Styles::_css_href() and its {@see 'style_loader_src'} filter.
* *
* @since 2.3.0 * @since 2.3.0
* *

View File

@ -16,7 +16,7 @@
* *
* @global string $wp_version * @global string $wp_version
*/ */
$wp_version = '6.1-alpha-53468'; $wp_version = '6.1-alpha-53469';
/** /**
* 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.