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

Props grapplerulrich.
Fixes #39948.

git-svn-id: https://develop.svn.wordpress.org/trunk@40103 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2017-02-23 10:29:27 +00:00
parent cf93e7996d
commit 109f63fb6b
2 changed files with 4 additions and 2 deletions

View File

@ -3872,7 +3872,8 @@ class WP_Query {
}
/**
* Is the query for an existing single post of any post type (post, attachment, page, ... )?
* Is the query for an existing single post of any post type (post, attachment, page,
* custom post types)?
*
* If the $post_types parameter is specified, this function will additionally
* check if the query is for one of the Posts Types specified.

View File

@ -597,7 +597,8 @@ function is_single( $post = '' ) {
}
/**
* Is the query for an existing single post of any post type (post, attachment, page, ... )?
* Is the query for an existing single post of any post type (post, attachment, page,
* custom post types)?
*
* If the $post_types parameter is specified, this function will additionally
* check if the query is for one of the Posts Types specified.