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.


git-svn-id: https://develop.svn.wordpress.org/trunk@39052 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
DrewAPicture
2016-10-31 06:33:02 +00:00
parent 297076eda4
commit 2e3a6f36d2
+1 -1
View File
@@ -3816,7 +3816,7 @@ class WP_Query {
/**
* 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
* check if the query is for one of the Posts specified.