Changeset 3078
- Timestamp:
- 05/05/2016 01:10:07 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/class-status-transitions.php
r3036 r3078 147 147 */ 148 148 public function rejected( $post_id, $post ) { 149 // Delete zip? 149 150 // Delete zips. 151 foreach ( get_attached_media( 'application/zip', $post_id ) as $attachment ) { 152 wp_delete_attachment( $attachment->ID, true ); 153 } 150 154 151 155 // Send email.
Note: See TracChangeset
for help on using the changeset viewer.