mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-04 09:10:06 +00:00
Docs: Consistently place @see tags after @since in WP_Query methods, per the documentation standards.
See #50768. git-svn-id: https://develop.svn.wordpress.org/trunk@49505 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -3944,10 +3944,10 @@ class WP_Query {
|
||||
* If you set a static page for the front page of your site, this function will return
|
||||
* true only on the page you set as the "Posts page".
|
||||
*
|
||||
* @see WP_Query::is_front_page()
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @see WP_Query::is_front_page()
|
||||
*
|
||||
* @return bool Whether the query is for the blog homepage.
|
||||
*/
|
||||
public function is_home() {
|
||||
@@ -3994,11 +3994,11 @@ class WP_Query {
|
||||
* If the $page parameter is specified, this function will additionally
|
||||
* check if the query is for one of the pages specified.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @see WP_Query::is_single()
|
||||
* @see WP_Query::is_singular()
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param int|string|int[]|string[] $page Optional. Page ID, title, slug, path, or array of such
|
||||
* to check against. Default empty.
|
||||
* @return bool Whether the query is for an existing single page.
|
||||
@@ -4101,11 +4101,11 @@ class WP_Query {
|
||||
* If the $post parameter is specified, this function will additionally
|
||||
* check if the query is for one of the Posts specified.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @see WP_Query::is_page()
|
||||
* @see WP_Query::is_singular()
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param int|string|int[]|string[] $post Optional. Post ID, title, slug, path, or array of such
|
||||
* to check against. Default empty.
|
||||
* @return bool Whether the query is for an existing single post.
|
||||
@@ -4151,11 +4151,11 @@ class WP_Query {
|
||||
* If the $post_types parameter is specified, this function will additionally
|
||||
* check if the query is for one of the Posts Types specified.
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @see WP_Query::is_page()
|
||||
* @see WP_Query::is_single()
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param string|string[] $post_types Optional. Post type or array of post types
|
||||
* to check against. Default empty.
|
||||
* @return bool Whether the query is for an existing single post
|
||||
|
||||
Reference in New Issue
Block a user