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
This commit is contained in:
John Blackbourn 2017-08-03 14:34:44 +00:00
parent 763ac66754
commit d510413811
5 changed files with 8 additions and 7 deletions

View File

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

View File

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

View File

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

View File

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

View File

@ -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.