WordPress.org

Make WordPress Core


Ignore:
Timestamp:
01/29/2020 12:43:23 AM (2 months ago)
Author:
SergeyBiryukov
Message:

Docs: Improve inline comments per the documentation standards.

Includes minor code layout fixes for better readability.

See #48303.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/media-upload.php

    r45611 r47122  
    2929header( 'Content-Type: ' . get_option( 'html_type' ) . '; charset=' . get_option( 'blog_charset' ) );
    3030
    31 // IDs should be integers
     31// IDs should be integers.
    3232$ID      = isset( $ID ) ? (int) $ID : 0;
    3333$post_id = isset( $post_id ) ? (int) $post_id : 0;
     
    5050}
    5151
    52 // Upload type: image, video, file, ..?
     52// Upload type: image, video, file, ...?
    5353if ( isset( $_GET['type'] ) ) {
    5454    $type = strval( $_GET['type'] );
Note: See TracChangeset for help on using the changeset viewer.