From 11b969c95b3b58847e36ee65593dcd30e2d6309f Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Mon, 14 Dec 2015 02:49:54 +0000 Subject: [PATCH] Correct some `@param` doc names in the `WP_Tax_Query` and `WP_User_Query` classes. See #32246 git-svn-id: https://develop.svn.wordpress.org/trunk@35916 602fd350-edb4-49c9-b593-d223f7449a82 --- src/wp-includes/class-wp-tax-query.php | 4 ++-- src/wp-includes/class-wp-user-query.php | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wp-includes/class-wp-tax-query.php b/src/wp-includes/class-wp-tax-query.php index 356b69292c..a842b2c3fe 100644 --- a/src/wp-includes/class-wp-tax-query.php +++ b/src/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/src/wp-includes/class-wp-user-query.php b/src/wp-includes/class-wp-user-query.php index a86c9c379b..0e3d7c59f2 100644 --- a/src/wp-includes/class-wp-user-query.php +++ b/src/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 ) ) {