From d510413811fc2312dedce082021588d6490cf57c Mon Sep 17 00:00:00 2001 From: John Blackbourn Date: Thu, 3 Aug 2017 14:34:44 +0000 Subject: [PATCH] Docs: Fix various filter documentation. See #38462, #41017 Built from https://develop.svn.wordpress.org/trunk@41215 git-svn-id: http://core.svn.wordpress.org/trunk@41055 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-admin/includes/image.php | 1 + wp-includes/class-wp-comment-query.php | 4 ++-- wp-includes/class-wp-network-query.php | 4 ++-- wp-includes/class-wp-site-query.php | 4 ++-- wp-includes/version.php | 2 +- 5 files changed, 8 insertions(+), 7 deletions(-) diff --git a/wp-admin/includes/image.php b/wp-admin/includes/image.php index 40cab01940..8282499e8f 100644 --- a/wp-admin/includes/image.php +++ b/wp-admin/includes/image.php @@ -217,6 +217,7 @@ function wp_generate_attachment_metadata( $attachment_id, $file ) { * @since 4.7.0 * * @param array $fallback_sizes An array of image size names. + * @param array $metadata Current attachment metadata. */ $fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata ); diff --git a/wp-includes/class-wp-comment-query.php b/wp-includes/class-wp-comment-query.php index c67584c908..8b5b7e2cb3 100644 --- a/wp-includes/class-wp-comment-query.php +++ b/wp-includes/class-wp-comment-query.php @@ -445,8 +445,8 @@ class WP_Comment_Query { * * @since 3.1.0 * - * @param array $results An array of comments. - * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. + * @param array $_comments An array of comments. + * @param WP_Comment_Query &$this Current instance of WP_Comment_Query, passed by reference. */ $_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) ); diff --git a/wp-includes/class-wp-network-query.php b/wp-includes/class-wp-network-query.php index 3d26f51ca2..10bc577a39 100644 --- a/wp-includes/class-wp-network-query.php +++ b/wp-includes/class-wp-network-query.php @@ -258,8 +258,8 @@ class WP_Network_Query { * * @since 4.6.0 * - * @param array $results An array of networks. - * @param WP_Network_Query &$this Current instance of WP_Network_Query, passed by reference. + * @param array $_networks An array of WP_Network objects. + * @param WP_Network_Query &$this Current instance of WP_Network_Query, passed by reference. */ $_networks = apply_filters_ref_array( 'the_networks', array( $_networks, &$this ) ); diff --git a/wp-includes/class-wp-site-query.php b/wp-includes/class-wp-site-query.php index 4d68da32cc..b917503a95 100644 --- a/wp-includes/class-wp-site-query.php +++ b/wp-includes/class-wp-site-query.php @@ -302,8 +302,8 @@ class WP_Site_Query { * * @since 4.6.0 * - * @param array $results An array of sites. - * @param WP_Site_Query &$this Current instance of WP_Site_Query, passed by reference. + * @param array $_sites An array of WP_Site objects. + * @param WP_Site_Query &$this Current instance of WP_Site_Query, passed by reference. */ $_sites = apply_filters_ref_array( 'the_sites', array( $_sites, &$this ) ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 42fc8c273b..73cefb0556 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.9-alpha-41214'; +$wp_version = '4.9-alpha-41215'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.