From 8621e8d5c858917beff658572a90024c86c0bb1c Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Sep 2020 10:43:23 +0000 Subject: [PATCH] Docs: Fix typo in `*_pre_query` filter DocBlocks. See #50768. git-svn-id: https://develop.svn.wordpress.org/trunk@48985 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-comment-query.php | 2 +- src/wp-includes/class-wp-network-query.php | 2 +- src/wp-includes/class-wp-query.php | 2 +- src/wp-includes/class-wp-site-query.php | 2 +- src/wp-includes/class-wp-term-query.php | 2 +- src/wp-includes/class-wp-user-query.php | 3 ++- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/src/wp-includes/class-wp-comment-query.php b/src/wp-includes/class-wp-comment-query.php index bbc6fe2d66..7868c8a58b 100644 --- a/src/wp-includes/class-wp-comment-query.php +++ b/src/wp-includes/class-wp-comment-query.php @@ -384,7 +384,7 @@ class WP_Comment_Query { /** * Filters the comments data before the query takes place. * - * Return a non-null value to bypass WordPress's default comment queries. + * Return a non-null value to bypass WordPress' default comment queries. * * The expected return type from this filter depends on the value passed in the request query_vars. * When `$this->query_vars['count']` is set, the filter should return the comment count as an int. diff --git a/src/wp-includes/class-wp-network-query.php b/src/wp-includes/class-wp-network-query.php index bce18b8ac4..67e574aaf1 100644 --- a/src/wp-includes/class-wp-network-query.php +++ b/src/wp-includes/class-wp-network-query.php @@ -202,7 +202,7 @@ class WP_Network_Query { /** * Filters the network data before the query takes place. * - * Return a non-null value to bypass WordPress's default network queries. + * Return a non-null value to bypass WordPress' default network queries. * * The expected return type from this filter depends on the value passed in the request query_vars. * When `$this->query_vars['count']` is set, the filter should return the network count as an int. diff --git a/src/wp-includes/class-wp-query.php b/src/wp-includes/class-wp-query.php index a2451bcd01..051fee9c6b 100644 --- a/src/wp-includes/class-wp-query.php +++ b/src/wp-includes/class-wp-query.php @@ -2935,7 +2935,7 @@ class WP_Query { /** * Filters the posts array before the query takes place. * - * Return a non-null value to bypass WordPress's default post queries. + * Return a non-null value to bypass WordPress' default post queries. * * Filtering functions that require pagination information are encouraged to set * the `found_posts` and `max_num_pages` properties of the WP_Query object, diff --git a/src/wp-includes/class-wp-site-query.php b/src/wp-includes/class-wp-site-query.php index 702488fc06..3461970985 100644 --- a/src/wp-includes/class-wp-site-query.php +++ b/src/wp-includes/class-wp-site-query.php @@ -293,7 +293,7 @@ class WP_Site_Query { /** * Filters the site data before the get_sites query takes place. * - * Return a non-null value to bypass WordPress's default site queries. + * Return a non-null value to bypass WordPress' default site queries. * * The expected return type from this filter depends on the value passed in the request query_vars: * When `$this->query_vars['count']` is set, the filter should return the site count as an int. diff --git a/src/wp-includes/class-wp-term-query.php b/src/wp-includes/class-wp-term-query.php index 4009e100d3..f69ec639e3 100644 --- a/src/wp-includes/class-wp-term-query.php +++ b/src/wp-includes/class-wp-term-query.php @@ -690,7 +690,7 @@ class WP_Term_Query { /** * Filters the terms array before the query takes place. * - * Return a non-null value to bypass WordPress's default term queries. + * Return a non-null value to bypass WordPress' default term queries. * * @since 5.3.0 * diff --git a/src/wp-includes/class-wp-user-query.php b/src/wp-includes/class-wp-user-query.php index 2cc335ebac..d33f6fb624 100644 --- a/src/wp-includes/class-wp-user-query.php +++ b/src/wp-includes/class-wp-user-query.php @@ -597,7 +597,8 @@ class WP_User_Query { /** * Filters the users array before the query takes place. * - * Return a non-null value to bypass WordPress's default user queries. + * Return a non-null value to bypass WordPress' default user queries. + * * Filtering functions that require pagination information are encouraged to set * the `total_users` property of the WP_User_Query object, passed to the filter * by reference. If WP_User_Query does not perform a database query, it will not