mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-22 09:07:59 +01:00
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:
parent
763ac66754
commit
d510413811
@ -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 );
|
||||
|
||||
|
@ -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 ) );
|
||||
|
||||
|
@ -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 ) );
|
||||
|
||||
|
@ -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 ) );
|
||||
|
||||
|
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user