Make WordPress Core

Changeset 41215


Ignore:
Timestamp:
08/03/2017 02:33:19 PM (7 years ago)
Author:
johnbillion
Message:

Docs: Fix various filter documentation.

See #38462, #41017

Location:
trunk/src
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/image.php

    r40130 r41215  
    218218         *
    219219         * @param array $fallback_sizes An array of image size names.
     220         * @param array $metadata       Current attachment metadata.
    220221         */
    221222        $fallback_sizes = apply_filters( 'fallback_intermediate_image_sizes', $fallback_sizes, $metadata );
  • trunk/src/wp-includes/class-wp-comment-query.php

    r41190 r41215  
    446446         * @since 3.1.0
    447447         *
    448          * @param array            $results An array of comments.
    449          * @param WP_Comment_Query &$this    Current instance of WP_Comment_Query, passed by reference.
     448         * @param array            $_comments An array of comments.
     449         * @param WP_Comment_Query &$this     Current instance of WP_Comment_Query, passed by reference.
    450450         */
    451451        $_comments = apply_filters_ref_array( 'the_comments', array( $_comments, &$this ) );
  • trunk/src/wp-includes/class-wp-network-query.php

    r41162 r41215  
    259259         * @since 4.6.0
    260260         *
    261          * @param array            $results  An array of networks.
    262          * @param WP_Network_Query &$this    Current instance of WP_Network_Query, passed by reference.
     261         * @param array            $_networks An array of WP_Network objects.
     262         * @param WP_Network_Query &$this     Current instance of WP_Network_Query, passed by reference.
    263263         */
    264264        $_networks = apply_filters_ref_array( 'the_networks', array( $_networks, &$this ) );
  • trunk/src/wp-includes/class-wp-site-query.php

    r41162 r41215  
    303303         * @since 4.6.0
    304304         *
    305          * @param array         $results An array of sites.
    306          * @param WP_Site_Query &$this   Current instance of WP_Site_Query, passed by reference.
     305         * @param array         $_sites An array of WP_Site objects.
     306         * @param WP_Site_Query &$this  Current instance of WP_Site_Query, passed by reference.
    307307         */
    308308        $_sites = apply_filters_ref_array( 'the_sites', array( $_sites, &$this ) );
Note: See TracChangeset for help on using the changeset viewer.