Make WordPress Core

Ticket #62642: 62642.patch

File 62642.patch, 560 bytes (added by nareshbheda, 22 months ago)
  • src/wp-includes/media.php

    diff --git a/src/wp-includes/media.php b/src/wp-includes/media.php
    index 00e23ff53d..2f280a5879 100644
    a b function wp_plupload_default_settings() {  
    44554455 *     @type string $url                   Direct URL to the attachment file (from wp-content).
    44564456 *     @type int    $width                 If the attachment is an image, represents the width of the image in pixels.
    44574457 * }
    4458  *
    44594458 */
    44604459function wp_prepare_attachment_for_js( $attachment ) {
    44614460        $attachment = get_post( $attachment );