Docs: Correctly document parameters in the hook doc for the get_meta_sql
filter as individual parameters rather than an array.
When an array of parameters is passed to `do_action|apply_filters_ref_array`, parameters should be documented as individuals instead of as part of the whole. Props sudar. Fixes #35962. git-svn-id: https://develop.svn.wordpress.org/trunk@36735 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
75451f7b59
commit
223b94a039
@ -347,16 +347,12 @@ class WP_Meta_Query {
|
||||
*
|
||||
* @since 3.1.0
|
||||
*
|
||||
* @param array $args {
|
||||
* An array of meta query SQL arguments.
|
||||
*
|
||||
* @type array $clauses Array containing the query's JOIN and WHERE clauses.
|
||||
* @type array $queries Array of meta queries.
|
||||
* @type string $type Type of meta.
|
||||
* @type string $primary_table Primary table.
|
||||
* @type string $primary_id_column Primary column ID.
|
||||
* @type object $context The main query object.
|
||||
* }
|
||||
* @param array $clauses Array containing the query's JOIN and WHERE clauses.
|
||||
* @param array $queries Array of meta queries.
|
||||
* @param string $type Type of meta.
|
||||
* @param string $primary_table Primary table.
|
||||
* @param string $primary_id_column Primary column ID.
|
||||
* @param object $context The main query object.
|
||||
*/
|
||||
return apply_filters_ref_array( 'get_meta_sql', array( $sql, $this->queries, $type, $primary_table, $primary_id_column, $context ) );
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user