Make WordPress Core

Changeset 40103


Ignore:
Timestamp:
02/23/2017 10:29:27 AM (8 years ago)
Author:
SergeyBiryukov
Message:

Docs: Update the description of is_singular() and WP_Query::is_singular() to be parsed correctly by developer.wordpress.org.

Props grapplerulrich.
Fixes #39948.

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

Legend:

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

    r40028 r40103  
    38733873
    38743874    /**
    3875      * Is the query for an existing single post of any post type (post, attachment, page, ... )?
     3875     * Is the query for an existing single post of any post type (post, attachment, page,
     3876     * custom post types)?
    38763877     *
    38773878     * If the $post_types parameter is specified, this function will additionally
  • trunk/src/wp-includes/query.php

    r38463 r40103  
    598598
    599599/**
    600  * Is the query for an existing single post of any post type (post, attachment, page, ... )?
     600 * Is the query for an existing single post of any post type (post, attachment, page,
     601 * custom post types)?
    601602 *
    602603 * If the $post_types parameter is specified, this function will additionally
Note: See TracChangeset for help on using the changeset viewer.