Make WordPress Core


Ignore:
Timestamp:
08/27/2018 02:27:22 PM (6 years ago)
Author:
johnbillion
Message:

Docs: Correct and improve various inline documentation.

See #42505

File:
1 edited

Legend:

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

    r43571 r43582  
    16871687
    16881688    /**
    1689      * Retrieve the posts based on query variables.
     1689     * Retrieves an array of posts based on query variables.
    16901690     *
    16911691     * There are a few filters and actions that can be used to modify the post
     
    16941694     * @since 1.5.0
    16951695     *
    1696      * @return array List of posts.
     1696     * @return WP_Post[]|int[] Array of post objects or post IDs.
    16971697     */
    16981698    public function get_posts() {
     
    33583358     *
    33593359     * @param string|array $query URL query string or array of query arguments.
    3360      * @return array List of posts.
     3360     * @return WP_Post[]|int[] Array of post objects or post IDs.
    33613361     */
    33623362    public function query( $query ) {
Note: See TracChangeset for help on using the changeset viewer.