From 4caa9e474cd65544f987af49eaf1af90791d362b Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Fri, 26 Feb 2016 17:10:26 +0000 Subject: [PATCH] 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. Built from https://develop.svn.wordpress.org/trunk@36735 git-svn-id: http://core.svn.wordpress.org/trunk@36702 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/class-wp-meta-query.php | 16 ++++++---------- wp-includes/version.php | 2 +- 2 files changed, 7 insertions(+), 11 deletions(-) diff --git a/wp-includes/class-wp-meta-query.php b/wp-includes/class-wp-meta-query.php index b359406db7..5716b5f20f 100644 --- a/wp-includes/class-wp-meta-query.php +++ b/wp-includes/class-wp-meta-query.php @@ -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 ) ); } diff --git a/wp-includes/version.php b/wp-includes/version.php index 9a0338f55d..737be09b60 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-beta1-36734'; +$wp_version = '4.5-beta1-36735'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.