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
This commit is contained in:
John Blackbourn 2015-12-14 02:49:54 +00:00
parent 8c6d4d5d83
commit 11b969c95b
2 changed files with 3 additions and 3 deletions

View File

@ -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'.
*/

View File

@ -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 ) ) {