Changeset 17568
- Timestamp:
- 03/28/2011 09:30:59 PM (14 years ago)
- Location:
- trunk/wp-admin
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r17347 r17568 500 500 501 501 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 502 check_admin_referer('media-form'); 502 503 // Upload File button was clicked 503 504 $id = media_handle_upload('async-upload', $_REQUEST['post_id']); … … 605 606 606 607 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 608 check_admin_referer('media-form'); 607 609 // Upload File button was clicked 608 610 $id = media_handle_upload('async-upload', $_REQUEST['post_id']); … … 663 665 664 666 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 667 check_admin_referer('media-form'); 665 668 // Upload File button was clicked 666 669 $id = media_handle_upload('async-upload', $_REQUEST['post_id']); … … 721 724 722 725 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 726 check_admin_referer('media-form'); 723 727 // Upload File button was clicked 724 728 $id = media_handle_upload('async-upload', $_REQUEST['post_id']); -
trunk/wp-admin/media-upload.php
r16847 r17568 39 39 40 40 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 41 check_admin_referer('media-form'); 41 42 // Upload File button was clicked 42 43 $id = media_handle_upload('async-upload', $_REQUEST['post_id']);
Note: See TracChangeset
for help on using the changeset viewer.