[wp-meta] [Making WordPress.org] #3180: Plugin Directory Admin: Rejecting a plugin with an existing name causes weird errors
Making WordPress.org
noreply at wordpress.org
Tue Oct 3 19:48:47 UTC 2017
#3180: Plugin Directory Admin: Rejecting a plugin with an existing name causes
weird errors
------------------------------+-----------------
Reporter: Ipstenu | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: Plugin Directory | Keywords:
------------------------------+-----------------
When a plugin is rejected its slug is changed from plugin-name to
rejected-plugin-name-rejected
The problem is that people could submit the SAME plugin name again and get
the slug plugin-name, which when rejected would be rejected-plugin-name-
rejected ... again
This throws an error telling you that the name is already in use. If you
go back and refresh the post, there is no more slug to edit and the name
is kind of messed up.
In the case of REJECTED plugins, we shouldn't use the same if-name-exists
check, and instead allow appending of a -2 as needed.
--
Ticket URL: <https://meta.trac.wordpress.org/ticket/3180>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org
More information about the wp-meta
mailing list