[wp-meta] [Making WordPress.org] #3444: Delete plugin post if ZIP upload fails

Making WordPress.org noreply at wordpress.org
Sat Feb 10 15:56:50 UTC 2018


#3444: Delete plugin post if ZIP upload fails
------------------------------+-------------------------
 Reporter:  ocean90           |      Owner:
     Type:  defect            |     Status:  new
 Priority:  normal            |  Milestone:
Component:  Plugin Directory  |   Keywords:  needs-patch
------------------------------+-------------------------
 I just had the case where the ZIP upload had failed.
 The upload handler
 [https://meta.trac.wordpress.org/browser/sites/trunk/wordpress.org/public_html
 /wp-content/plugins/plugin-directory/shortcodes/class-upload-
 handler.php?rev=6287&marks=269-272#L269 correctly returns an error]. But
 since the associated post is created before it now remains in the
 database, without a ZIP to review.

 I suggest to delete the post in this case so the plugin author can try to
 upload the plugin again.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3444>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list