Make WordPress Core

Changeset 49505


Ignore:
Timestamp:
11/05/2020 09:40:38 AM (4 years ago)
Author:
SergeyBiryukov
Message:

Docs: Consistently place @see tags after @since in WP_Query methods, per the documentation standards.

See #50768.

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

Legend:

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

    r49474 r49505  
    39453945     * true only on the page you set as the "Posts page".
    39463946     *
     3947     * @since 3.1.0
     3948     *
    39473949     * @see WP_Query::is_front_page()
    3948      *
    3949      * @since 3.1.0
    39503950     *
    39513951     * @return bool Whether the query is for the blog homepage.
     
    39953995     * check if the query is for one of the pages specified.
    39963996     *
     3997     * @since 3.1.0
     3998     *
    39973999     * @see WP_Query::is_single()
    39984000     * @see WP_Query::is_singular()
    3999      *
    4000      * @since 3.1.0
    40014001     *
    40024002     * @param int|string|int[]|string[] $page Optional. Page ID, title, slug, path, or array of such
     
    41024102     * check if the query is for one of the Posts specified.
    41034103     *
     4104     * @since 3.1.0
     4105     *
    41044106     * @see WP_Query::is_page()
    41054107     * @see WP_Query::is_singular()
    4106      *
    4107      * @since 3.1.0
    41084108     *
    41094109     * @param int|string|int[]|string[] $post Optional. Post ID, title, slug, path, or array of such
     
    41524152     * check if the query is for one of the Posts Types specified.
    41534153     *
     4154     * @since 3.1.0
     4155     *
    41544156     * @see WP_Query::is_page()
    41554157     * @see WP_Query::is_single()
    4156      *
    4157      * @since 3.1.0
    41584158     *
    41594159     * @param string|string[] $post_types Optional. Post type or array of post types
  • trunk/src/wp-includes/query.php

    r49504 r49505  
    564564 * Conditional Tags} article in the Theme Developer Handbook.
    565565 *
     566 * @since 1.5.0
     567 *
    566568 * @see is_single()
    567569 * @see is_singular()
    568  *
    569  * @since 1.5.0
    570  *
    571570 * @global WP_Query $wp_query WordPress Query object.
    572571 *
     
    710709 * Conditional Tags} article in the Theme Developer Handbook.
    711710 *
     711 * @since 1.5.0
     712 *
    712713 * @see is_page()
    713714 * @see is_singular()
    714  *
    715  * @since 1.5.0
    716  *
    717715 * @global WP_Query $wp_query WordPress Query object.
    718716 *
     
    743741 * Conditional Tags} article in the Theme Developer Handbook.
    744742 *
     743 * @since 1.5.0
     744 *
    745745 * @see is_page()
    746746 * @see is_single()
    747  *
    748  * @since 1.5.0
    749  *
    750747 * @global WP_Query $wp_query WordPress Query object.
    751748 *
     
    10841081 * Find the post ID for redirecting an old slug.
    10851082 *
    1086  * @see wp_old_slug_redirect()
    1087  *
    10881083 * @since 4.9.3
    10891084 * @access private
    10901085 *
     1086 * @see wp_old_slug_redirect()
    10911087 * @global wpdb $wpdb WordPress database abstraction object.
    10921088 *
     
    11191115 * Find the post ID for redirecting an old date.
    11201116 *
    1121  * @see wp_old_slug_redirect()
    1122  *
    11231117 * @since 4.9.3
    11241118 * @access private
    11251119 *
     1120 * @see wp_old_slug_redirect()
    11261121 * @global wpdb $wpdb WordPress database abstraction object.
    11271122 *
Note: See TracChangeset for help on using the changeset viewer.