Make WordPress Core

Changeset 53469


Ignore:
Timestamp:
06/06/2022 10:49:22 AM (4 years ago)
Author:
SergeyBiryukov
Message:

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.

Location:
trunk/src/wp-includes
Files:
8 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class-wp-comment-query.php

    r53376 r53469  
    169169         *     @type string|string[] $meta_value                Meta value or values to filter by.
    170170         *     @type string          $meta_compare              MySQL operator used for comparing the meta value.
    171          *                                                      See WP_Meta_Query::__construct for accepted values and default value.
     171         *                                                      See WP_Meta_Query::__construct() for accepted values and default value.
    172172         *     @type string          $meta_compare_key          MySQL operator used for comparing the meta key.
    173          *                                                      See WP_Meta_Query::__construct for accepted values and default value.
     173         *                                                      See WP_Meta_Query::__construct() for accepted values and default value.
    174174         *     @type string          $meta_type                 MySQL data type that the meta_value column will be CAST to for comparisons.
    175          *                                                      See WP_Meta_Query::__construct for accepted values and default value.
     175         *                                                      See WP_Meta_Query::__construct() for accepted values and default value.
    176176         *     @type string          $meta_type_key             MySQL data type that the meta_key column will be CAST to for comparisons.
    177          *                                                      See WP_Meta_Query::__construct for accepted values and default value.
     177         *                                                      See WP_Meta_Query::__construct() for accepted values and default value.
    178178         *     @type array           $meta_query                An associative array of WP_Meta_Query arguments.
    179          *                                                      See WP_Meta_Query::__construct for accepted values.
     179         *                                                      See WP_Meta_Query::__construct() for accepted values.
    180180         *     @type int             $number                    Maximum number of comments to retrieve.
    181181         *                                                      Default empty (no limit).
  • trunk/src/wp-includes/class-wp-http-streams.php

    r52964 r53469  
    1818         * Send a HTTP request to a URI using PHP Streams.
    1919         *
    20          * @see WP_Http::request For default options descriptions.
     20         * @see WP_Http::request() For default options descriptions.
    2121         *
    2222         * @since 2.7.0
  • trunk/src/wp-includes/class-wp-query.php

    r53375 r53469  
    669669         *     @type string|string[] $meta_value              Meta value or values to filter by.
    670670         *     @type string          $meta_compare            MySQL operator used for comparing the meta value.
    671          *                                                    See WP_Meta_Query::__construct for accepted values and default value.
     671         *                                                    See WP_Meta_Query::__construct() for accepted values and default value.
    672672         *     @type string          $meta_compare_key        MySQL operator used for comparing the meta key.
    673          *                                                    See WP_Meta_Query::__construct for accepted values and default value.
     673         *                                                    See WP_Meta_Query::__construct() for accepted values and default value.
    674674         *     @type string          $meta_type               MySQL data type that the meta_value column will be CAST to for comparisons.
    675          *                                                    See WP_Meta_Query::__construct for accepted values and default value.
     675         *                                                    See WP_Meta_Query::__construct() for accepted values and default value.
    676676         *     @type string          $meta_type_key           MySQL data type that the meta_key column will be CAST to for comparisons.
    677          *                                                    See WP_Meta_Query::__construct for accepted values and default value.
     677         *                                                    See WP_Meta_Query::__construct() for accepted values and default value.
    678678         *     @type array           $meta_query              An associative array of WP_Meta_Query arguments.
    679          *                                                    See WP_Meta_Query::__construct for accepted values.
     679         *                                                    See WP_Meta_Query::__construct() for accepted values.
    680680         *     @type int             $menu_order              The menu order of the posts.
    681681         *     @type int             $minute                  Minute of the hour. Default empty. Accepts numbers 0-59.
     
    753753         *                                                    true. Note: a string of comma-separated IDs will NOT work.
    754754         *     @type array           $tax_query               An associative array of WP_Tax_Query arguments.
    755          *                                                    See WP_Tax_Query->__construct().
     755         *                                                    See WP_Tax_Query::__construct().
    756756         *     @type string          $title                   Post title.
    757757         *     @type bool            $update_post_meta_cache  Whether to update the post meta cache. Default true.
  • trunk/src/wp-includes/class-wp-site-query.php

    r53376 r53469  
    174174         *     @type string|string[] $meta_value             Meta value or values to filter by.
    175175         *     @type string          $meta_compare           MySQL operator used for comparing the meta value.
    176          *                                                   See WP_Meta_Query::__construct for accepted values and default value.
     176         *                                                   See WP_Meta_Query::__construct() for accepted values and default value.
    177177         *     @type string          $meta_compare_key       MySQL operator used for comparing the meta key.
    178          *                                                   See WP_Meta_Query::__construct for accepted values and default value.
     178         *                                                   See WP_Meta_Query::__construct() for accepted values and default value.
    179179         *     @type string          $meta_type              MySQL data type that the meta_value column will be CAST to for comparisons.
    180          *                                                   See WP_Meta_Query::__construct for accepted values and default value.
     180         *                                                   See WP_Meta_Query::__construct() for accepted values and default value.
    181181         *     @type string          $meta_type_key          MySQL data type that the meta_key column will be CAST to for comparisons.
    182          *                                                   See WP_Meta_Query::__construct for accepted values and default value.
     182         *                                                   See WP_Meta_Query::__construct() for accepted values and default value.
    183183         *     @type array           $meta_query             An associative array of WP_Meta_Query arguments.
    184          *                                                   See WP_Meta_Query::__construct for accepted values.
     184         *                                                   See WP_Meta_Query::__construct() for accepted values.
    185185         * }
    186186         */
  • trunk/src/wp-includes/class-wp-term-query.php

    r53376 r53469  
    182182         *     @type string|string[] $meta_value             Meta value or values to filter by.
    183183         *     @type string          $meta_compare           MySQL operator used for comparing the meta value.
    184          *                                                   See WP_Meta_Query::__construct for accepted values and default value.
     184         *                                                   See WP_Meta_Query::__construct() for accepted values and default value.
    185185         *     @type string          $meta_compare_key       MySQL operator used for comparing the meta key.
    186          *                                                   See WP_Meta_Query::__construct for accepted values and default value.
     186         *                                                   See WP_Meta_Query::__construct() for accepted values and default value.
    187187         *     @type string          $meta_type              MySQL data type that the meta_value column will be CAST to for comparisons.
    188          *                                                   See WP_Meta_Query::__construct for accepted values and default value.
     188         *                                                   See WP_Meta_Query::__construct() for accepted values and default value.
    189189         *     @type string          $meta_type_key          MySQL data type that the meta_key column will be CAST to for comparisons.
    190          *                                                   See WP_Meta_Query::__construct for accepted values and default value.
     190         *                                                   See WP_Meta_Query::__construct() for accepted values and default value.
    191191         *     @type array           $meta_query             An associative array of WP_Meta_Query arguments.
    192          *                                                   See WP_Meta_Query::__construct for accepted values.
     192         *                                                   See WP_Meta_Query::__construct() for accepted values.
    193193         * }
    194194         */
  • trunk/src/wp-includes/class-wp-user-query.php

    r53362 r53469  
    158158         *     @type string|string[] $meta_value          Meta value or values to filter by.
    159159         *     @type string          $meta_compare        MySQL operator used for comparing the meta value.
    160          *                                                See WP_Meta_Query::__construct for accepted values and default value.
     160         *                                                See WP_Meta_Query::__construct() for accepted values and default value.
    161161         *     @type string          $meta_compare_key    MySQL operator used for comparing the meta key.
    162          *                                                See WP_Meta_Query::__construct for accepted values and default value.
     162         *                                                See WP_Meta_Query::__construct() for accepted values and default value.
    163163         *     @type string          $meta_type           MySQL data type that the meta_value column will be CAST to for comparisons.
    164          *                                                See WP_Meta_Query::__construct for accepted values and default value.
     164         *                                                See WP_Meta_Query::__construct() for accepted values and default value.
    165165         *     @type string          $meta_type_key       MySQL data type that the meta_key column will be CAST to for comparisons.
    166          *                                                See WP_Meta_Query::__construct for accepted values and default value.
     166         *                                                See WP_Meta_Query::__construct() for accepted values and default value.
    167167         *     @type array           $meta_query          An associative array of WP_Meta_Query arguments.
    168          *                                                See WP_Meta_Query::__construct for accepted values.
     168         *                                                See WP_Meta_Query::__construct() for accepted values.
    169169         *     @type string|string[] $capability          An array or a comma-separated list of capability names that users must match
    170170         *                                                to be included in results. Note that this is an inclusive list: users
  • trunk/src/wp-includes/comment-template.php

    r53285 r53469  
    20342034 * @since 2.7.0
    20352035 *
    2036  * @see WP_Query->comments
     2036 * @see WP_Query::$comments
    20372037 *
    20382038 * @global WP_Query $wp_query           WordPress Query object.
  • trunk/src/wp-includes/general-template.php

    r53455 r53469  
    45604560 * Displays the URL of a WordPress admin CSS file.
    45614561 *
    4562  * @see WP_Styles::_css_href and its {@see 'style_loader_src'} filter.
     4562 * @see WP_Styles::_css_href() and its {@see 'style_loader_src'} filter.
    45634563 *
    45644564 * @since 2.3.0
Note: See TracChangeset for help on using the changeset viewer.