Changeset 28871
- Timestamp:
- 06/27/2014 09:31:28 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/media.php
r28847 r28871 774 774 } 775 775 776 if ( !empty($_POST) ) { 776 if ( isset( $_POST['save'] ) ) { 777 $errors['upload_notice'] = __('Saved.'); 778 return media_upload_gallery(); 779 } elseif ( ! empty( $_POST ) ) { 777 780 $return = media_upload_form_handler(); 778 781 … … 781 784 if ( is_array($return) ) 782 785 $errors = $return; 783 }784 785 if ( isset($_POST['save']) ) {786 $errors['upload_notice'] = __('Saved.');787 return media_upload_gallery();788 786 } 789 787
Note: See TracChangeset
for help on using the changeset viewer.