mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-12 21:00:21 +00:00
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:
@@ -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.
|
||||
|
||||
Reference in New Issue
Block a user