WordPress.org

Make WordPress Core

Changeset 39052


Ignore:
Timestamp:
10/31/16 06:33:02 (9 months ago)
Author:
DrewAPicture
Message:

Docs: Update the DocBlock description for WP_Query::is_single() to mention that it works for any post types excluding pages.

Props ryankienstra.
Fixes #38225.

File:
1 edited

Legend:

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

    r38844 r39052  
    38173817     * Is the query for an existing single post? 
    38183818     * 
    3819      * Works for any post type, except attachments and pages 
     3819     * Works for any post type excluding pages. 
    38203820     * 
    38213821     * If the $post parameter is specified, this function will additionally 
Note: See TracChangeset for help on using the changeset viewer.