Making WordPress.org

Opened 7 years ago

Closed 7 years ago

Last modified 6 years ago

#2737 closed defect (bug) (fixed)

Plugin Directory: Rejected Plugins slugs need to be changed

Reported by: ipstenu's profile Ipstenu Owned by: otto42's profile Otto42
Milestone: Priority: normal
Component: Plugin Directory Keywords: has-patch commit
Cc:

Description

When a plugin is rejected, it keeps the slug it had before. That means if someone submits the same plugin three times (not a joke) and we reject the first two, we've blocked out the following slugs from use:

this-plugin-name
this-plugin-name-2

The problem? this-plugin-name-3 should be this-plugin-name

Previously, a rejected plugin was renamed to rejected-this-plugin-name-rejected

Can we restore this functionality?

Attachments (1)

2737.patch (1.1 KB) - added by SergeyBiryukov 7 years ago.

Download all attachments as: .zip

Change History (4)

@SergeyBiryukov
7 years ago

#1 @SergeyBiryukov
7 years ago

  • Keywords has-patch commit added

#2 @Otto42
7 years ago

  • Owner set to Otto42
  • Resolution set to fixed
  • Status changed from new to closed

In 5460:

Plugin Directory: Add 'rejected' to slugs of rejected plugins. Fixes #2737. Props @SergeyBiryukov

#3 @SergeyBiryukov
6 years ago

In 7800:

Plugins: On upload, if a previously rejected plugin with the same slug was found, free up the slug and proceed with the upload.

This brings parity between plugins rejected before and after [5460].

See #3864. See #2737.

Note: See TracTickets for help on using tickets.