WordPress.org

Make WordPress Core

Ticket #42449: 42449.1.diff

File 42449.1.diff, 744 bytes (added by danielbachhuber, 4 years ago)
  • src/wp-includes/media.php

    diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
    index 1981f3ad9a..fff0293431 100644
    a b function wp_prepare_attachment_for_js( $attachment ) { 
    32833283         *
    32843284         * @since 3.5.0
    32853285         *
    3286          * @param array      $response   Array of prepared attachment data.
    3287          * @param int|object $attachment Attachment ID or object.
    3288          * @param array      $meta       Array of attachment meta data.
     3286         * @param array  $response   Array of prepared attachment data.
     3287         * @param object $attachment Attachment object.
     3288         * @param array  $meta       Array of attachment meta data.
    32893289         */
    32903290        return apply_filters( 'wp_prepare_attachment_for_js', $response, $attachment, $meta );
    32913291}