Make WordPress Core

Ticket #52603: 52603.3.diff

File 52603.3.diff, 865 bytes (added by hellofromTonya, 4 years ago)

Reformats multi-line comment to use /* instead of per coding standards.

  • src/wp-admin/includes/image.php

    diff --git a/src/wp-admin/includes/image.php b/src/wp-admin/includes/image.php
    index 5580ee5978..1b96a18333 100644
    a b function wp_generate_attachment_metadata( $attachment_id, $file ) { 
    490490                $support  = current_theme_supports( 'post-thumbnails', 'attachment:audio' ) || post_type_supports( 'attachment:audio', 'thumbnail' );
    491491        }
    492492
    493         // wp_read_video_metadata() and wp_read_audio_metadata() return `false` if the attachment
    494         // does not exist in the local filesystem, so make sure to convert the value to an array.
     493        /*
     494         * wp_read_video_metadata() and wp_read_audio_metadata() return `false` if the attachment
     495         * does not exist in the local filesystem, so make sure to convert the value to an array.
     496         */
    495497        if ( ! is_array( $metadata ) ) {
    496498                $metadata = array();
    497499        }