Changeset 13109 for sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-zip-cleanup.php
- Timestamp:
- 01/15/2024 05:23:52 AM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/jobs/class-zip-cleanup.php
r13024 r13109 88 88 delete_post_meta( $plugin->ID, '_submitted_zip_loc' ); 89 89 90 // Delete the file hash from the post. 91 $file_hash = sha1_file( get_attached_file( $attachment ) ); 92 if ( $file_hash ) { 93 delete_post_meta( $plugin->ID, 'uploaded_zip_hash', $file_hash ); 94 } 95 90 96 // Include some log output for debugging. 91 97 $filename = basename( wp_get_attachment_url( $attachment->ID ) );
Note: See TracChangeset
for help on using the changeset viewer.