Changeset 29206 for trunk/src/wp-admin/media-upload.php
- Timestamp:
- 07/17/2014 09:13:53 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/media-upload.php
r26917 r29206 31 31 $post_id = isset($post_id)? (int) $post_id : 0; 32 32 33 // Require an ID for the edit screen 33 // Require an ID for the edit screen. 34 34 if ( isset($action) && $action == 'edit' && !$ID ) 35 35 wp_die( __( 'Cheatin’ uh?' ) ); … … 38 38 wp_die( __( 'Cheatin’ uh?' ) ); 39 39 40 // upload type: image, video, file, ..?40 // Upload type: image, video, file, ..? 41 41 if ( isset($_GET['type']) ) { 42 42 $type = strval($_GET['type']); … … 53 53 } 54 54 55 // tab: gallery, library, or type-specific55 // Tab: gallery, library, or type-specific. 56 56 if ( isset($_GET['tab']) ) { 57 57 $tab = strval($_GET['tab']); … … 69 69 $body_id = 'media-upload'; 70 70 71 // let the action code decide how to handle the request71 // Let the action code decide how to handle the request. 72 72 if ( $tab == 'type' || $tab == 'type_url' || ! array_key_exists( $tab , media_upload_tabs() ) ) { 73 73 /**
Note: See TracChangeset
for help on using the changeset viewer.