From b66ff2f68daf3a6c83154f2dd841c9a5dedd4c4e Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Thu, 17 Sep 2020 10:45:03 +0000 Subject: [PATCH] Docs: Fix typo in `*_pre_query` filter DocBlocks. See #50768. Built from https://develop.svn.wordpress.org/trunk@48985 git-svn-id: http://core.svn.wordpress.org/trunk@48747 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-comment-query.php | 2 +- wp-includes/class-wp-network-query.php | 2 +- wp-includes/class-wp-query.php | 2 +- wp-includes/class-wp-site-query.php | 2 +- wp-includes/class-wp-term-query.php | 2 +- wp-includes/class-wp-user-query.php | 3 ++- wp-includes/version.php | 2 +- 7 files changed, 8 insertions(+), 7 deletions(-) diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php index bbc6fe2d66..7868c8a58b 100644 --- a/wp-includes/class-wp-comment-query.php +++ b/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/wp-includes/class-wp-network-query.php b/wp-includes/class-wp-network-query.php index bce18b8ac4..67e574aaf1 100644 --- a/wp-includes/class-wp-network-query.php +++ b/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/wp-includes/class-wp-query.php b/wp-includes/class-wp-query.php index a2451bcd01..051fee9c6b 100644 --- a/wp-includes/class-wp-query.php +++ b/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/wp-includes/class-wp-site-query.php b/wp-includes/class-wp-site-query.php index 702488fc06..3461970985 100644 --- a/wp-includes/class-wp-site-query.php +++ b/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/wp-includes/class-wp-term-query.php b/wp-includes/class-wp-term-query.php index 4009e100d3..f69ec639e3 100644 --- a/wp-includes/class-wp-term-query.php +++ b/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/wp-includes/class-wp-user-query.php b/wp-includes/class-wp-user-query.php index 2cc335ebac..d33f6fb624 100644 --- a/wp-includes/class-wp-user-query.php +++ b/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 diff --git a/wp-includes/version.php b/wp-includes/version.php index 9b2bd16d5b..a9791b694d 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.6-alpha-48984'; +$wp_version = '5.6-alpha-48985'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.