Changeset 6119
- Timestamp:
- 11/14/2017 06:15:25 AM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/shortcodes/class-upload.php
r6046 r6119 48 48 $upload_result = false; 49 49 50 if ( ! empty( $_POST['_wpnonce'] ) && wp_verify_nonce( $_POST['_wpnonce'], 'wporg-plugins-upload' ) && 'upload' === $_POST['action'] ) : 50 if ( 51 ! empty( $_POST['_wpnonce'] ) 52 && wp_verify_nonce( $_POST['_wpnonce'], 'wporg-plugins-upload' ) 53 && 'upload' === $_POST['action'] 54 && ! $submitted_counts->total 55 ) : 51 56 if ( UPLOAD_ERR_OK === $_FILES['zip_file']['error'] ) : 52 57 $uploader = new Upload_Handler;
Note: See TracChangeset
for help on using the changeset viewer.