Make WordPress Core

Changeset 47052


Ignore:
Timestamp:
01/08/2020 12:08:49 PM (5 years ago)
Author:
SergeyBiryukov
Message:

Docs: Correct alphabetic order of parameters in WP_Query::parse_query() DocBlock.

See #48303.

File:
1 edited

Legend:

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

    r47018 r47052  
    695695     *     @type string       $perm                    Show posts if user has the appropriate capability.
    696696     *     @type string       $ping_status             Ping status.
    697      *     @type array        $post__in                An array of post IDs to retrieve, sticky posts will be included
    698      *     @type string       $post_mime_type          The mime type of the post. Used for 'attachment' post_type.
     697     *     @type array        $post__in                An array of post IDs to retrieve, sticky posts will be included.
    699698     *     @type array        $post__not_in            An array of post IDs not to retrieve. Note: a string of comma-
    700699     *                                                 separated IDs will NOT work.
     700     *     @type string       $post_mime_type          The mime type of the post. Used for 'attachment' post_type.
     701     *     @type array        $post_name__in           An array of post slugs that results must match.
    701702     *     @type int          $post_parent             Page ID to retrieve child pages for. Use 0 to only retrieve
    702703     *                                                 top-level pages.
     
    709710     *     @type int          $posts_per_archive_page  The number of posts to query for by archive page. Overrides
    710711     *                                                 'posts_per_page' when is_archive(), or is_search() are true.
    711      *     @type array        $post_name__in           An array of post slugs that results must match.
    712712     *     @type string       $s                       Search keyword(s). Prepending a term with a hyphen will
    713713     *                                                 exclude posts matching that term. Eg, 'pillow -sofa' will
Note: See TracChangeset for help on using the changeset viewer.