[wp-meta] [Making WordPress.org] #2787: Plugin Directory: Reject plugin on duplicate slugs

Making WordPress.org noreply at wordpress.org
Wed Apr 26 22:17:07 UTC 2017


#2787: Plugin Directory: Reject plugin on duplicate slugs
------------------------------+------------------
 Reporter:  Ipstenu           |       Owner:
     Type:  defect            |      Status:  new
 Priority:  normal            |   Milestone:
Component:  Plugin Directory  |  Resolution:
 Keywords:  has-patch         |
------------------------------+------------------
Changes (by SergeyBiryukov):

 * keywords:  needs-patch => has-patch


Comment:

 We already [source:sites/trunk/wordpress.org/public_html/wp-
 content/plugins/plugin-directory/shortcodes/class-upload-
 handler.php?rev=5401&marks=97,100,109#L95 check if the plugin with the
 same slug exists], but the error is not thrown if the duplicate plugin has
 a `new` or `pending` status.

 I think we can just remove the status check there, [attachment:2787.patch]
 does that.

--
Ticket URL: <https://meta.trac.wordpress.org/ticket/2787#comment:1>
Making WordPress.org <https://meta.trac.wordpress.org/>
Making WordPress.org


More information about the wp-meta mailing list