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. Built from https://develop.svn.wordpress.org/trunk@39052 git-svn-id: http://core.svn.wordpress.org/trunk@38994 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
5f4497f0af
commit
568838bebd
|
@ -3816,7 +3816,7 @@ class WP_Query {
|
||||||
/**
|
/**
|
||||||
* Is the query for an existing single post?
|
* Is the query for an existing single post?
|
||||||
*
|
*
|
||||||
* Works for any post type, except attachments and pages
|
* Works for any post type excluding pages.
|
||||||
*
|
*
|
||||||
* If the $post parameter is specified, this function will additionally
|
* If the $post parameter is specified, this function will additionally
|
||||||
* check if the query is for one of the Posts specified.
|
* check if the query is for one of the Posts specified.
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* @global string $wp_version
|
* @global string $wp_version
|
||||||
*/
|
*/
|
||||||
$wp_version = '4.7-beta1-39051';
|
$wp_version = '4.7-beta1-39052';
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
* Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.
|
||||||
|
|
Loading…
Reference in New Issue