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:
parent
8c6d4d5d83
commit
11b969c95b
@ -557,7 +557,7 @@ class WP_Tax_Query {
|
|||||||
* @since 3.2.0
|
* @since 3.2.0
|
||||||
* @access private
|
* @access private
|
||||||
*
|
*
|
||||||
* @param array &$query The single query.
|
* @param array $query The single query. Passed by reference.
|
||||||
*/
|
*/
|
||||||
private function clean_query( &$query ) {
|
private function clean_query( &$query ) {
|
||||||
if ( empty( $query['taxonomy'] ) ) {
|
if ( empty( $query['taxonomy'] ) ) {
|
||||||
@ -599,7 +599,7 @@ class WP_Tax_Query {
|
|||||||
*
|
*
|
||||||
* @global wpdb $wpdb The WordPress database abstraction object.
|
* @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',
|
* @param string $resulting_field The resulting field. Accepts 'slug', 'name', 'term_taxonomy_id',
|
||||||
* or 'term_id'. Default 'term_id'.
|
* or 'term_id'. Default 'term_id'.
|
||||||
*/
|
*/
|
||||||
|
@ -75,7 +75,7 @@ class WP_User_Query {
|
|||||||
*
|
*
|
||||||
* @since 3.1.0
|
* @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 ) {
|
public function __construct( $query = null ) {
|
||||||
if ( ! empty( $query ) ) {
|
if ( ! empty( $query ) ) {
|
||||||
|
Loading…
Reference in New Issue
Block a user