[wp-meta] [Making WordPress.org] #3444: Delete plugin post if ZIP upload fails
Making WordPress.org
noreply at wordpress.org
Sun Feb 11 02:07:48 UTC 2018
#3444: Delete plugin post if ZIP upload fails
------------------------------+------------------
Reporter: ocean90 | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Resolution:
Keywords: needs-patch |
------------------------------+------------------
Comment (by varunms):
Replying to [ticket:3444 ocean90]:
> 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.
This is a good feature. I would like to code for it. but how i can start ?
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3444#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list