Changes from branches/3.1/wp-admin/includes/media.php at r17569 to trunk/wp-admin/includes/media.php at r17347
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/media.php
r17569 r17347 500 500 501 501 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 502 check_admin_referer('media-form');503 502 // Upload File button was clicked 504 503 $id = media_handle_upload('async-upload', $_REQUEST['post_id']); … … 606 605 607 606 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 608 check_admin_referer('media-form');609 607 // Upload File button was clicked 610 608 $id = media_handle_upload('async-upload', $_REQUEST['post_id']); … … 665 663 666 664 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 667 check_admin_referer('media-form');668 665 // Upload File button was clicked 669 666 $id = media_handle_upload('async-upload', $_REQUEST['post_id']); … … 724 721 725 722 if ( isset($_POST['html-upload']) && !empty($_FILES) ) { 726 check_admin_referer('media-form');727 723 // Upload File button was clicked 728 724 $id = media_handle_upload('async-upload', $_REQUEST['post_id']);
Note: See TracChangeset
for help on using the changeset viewer.