Make WordPress Core


Ignore:
Timestamp:
07/17/2014 09:13:53 AM (12 years ago)
Author:
DrewAPicture
Message:

Fix syntax for single- and multi-line comments in wp-admin-directory files.

See #28931.

File:
1 edited

Legend:

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

    r26917 r29206  
    3131$post_id = isset($post_id)? (int) $post_id : 0;
    3232
    33 // Require an ID for the edit screen
     33// Require an ID for the edit screen.
    3434if ( isset($action) && $action == 'edit' && !$ID )
    3535        wp_die( __( 'Cheatin’ uh?' ) );
     
    3838                wp_die( __( 'Cheatin’ uh?' ) );
    3939
    40         // upload type: image, video, file, ..?
     40        // Upload type: image, video, file, ..?
    4141        if ( isset($_GET['type']) ) {
    4242                $type = strval($_GET['type']);
     
    5353        }
    5454
    55         // tab: gallery, library, or type-specific
     55        // Tab: gallery, library, or type-specific.
    5656        if ( isset($_GET['tab']) ) {
    5757                $tab = strval($_GET['tab']);
     
    6969        $body_id = 'media-upload';
    7070
    71         // let the action code decide how to handle the request
     71        // Let the action code decide how to handle the request.
    7272        if ( $tab == 'type' || $tab == 'type_url' || ! array_key_exists( $tab , media_upload_tabs() ) ) {
    7373                /**
Note: See TracChangeset for help on using the changeset viewer.