From aace0e33c1e138eae795d16ad6f4de7d1ce6bad5 Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 14 Dec 2015 02:50:27 +0000 Subject: [PATCH] Correct some `@param` doc names in the `WP_Tax_Query` and `WP_User_Query` classes. See #32246 Built from https://develop.svn.wordpress.org/trunk@35916 git-svn-id: http://core.svn.wordpress.org/trunk@35880 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-tax-query.php | 4 ++-- wp-includes/class-wp-user-query.php | 2 +- wp-includes/version.php | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/wp-includes/class-wp-tax-query.php b/wp-includes/class-wp-tax-query.php index 356b69292c..a842b2c3fe 100644 --- a/wp-includes/class-wp-tax-query.php +++ b/wp-includes/class-wp-tax-query.php @@ -557,7 +557,7 @@ class WP_Tax_Query { * @since 3.2.0 * @access private * - * @param array &$query The single query. + * @param array $query The single query. Passed by reference. */ private function clean_query( &$query ) { if ( empty( $query['taxonomy'] ) ) { @@ -599,7 +599,7 @@ class WP_Tax_Query { * * @global wpdb $wpdb The WordPress database abstraction object. * - * @param array &$query The single query. + * @param array $query The single query. Passed by reference. * @param string $resulting_field The resulting field. Accepts 'slug', 'name', 'term_taxonomy_id', * or 'term_id'. Default 'term_id'. */ diff --git a/wp-includes/class-wp-user-query.php b/wp-includes/class-wp-user-query.php index a86c9c379b..0e3d7c59f2 100644 --- a/wp-includes/class-wp-user-query.php +++ b/wp-includes/class-wp-user-query.php @@ -75,7 +75,7 @@ class WP_User_Query { * * @since 3.1.0 * - * @param null|string|array $args Optional. The query variables. + * @param null|string|array $query Optional. The query variables. */ public function __construct( $query = null ) { if ( ! empty( $query ) ) { diff --git a/wp-includes/version.php b/wp-includes/version.php index 882084864c..7129b76d1f 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35915'; +$wp_version = '4.5-alpha-35916'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.