Making WordPress.org

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#2716 closed defect (bug) (fixed)

Add a new post status for "Newly submitted"

Reported by: dd32's profile dd32 Owned by:
Milestone: Plugin Directory v3.0 Priority: normal
Component: Plugin Directory Keywords:
Cc:

Description

Currently we're using the draft post status for newly submitted, non-reviewed plugins. This kind of made sense, but introduced unexpected bugs due to WordPress's assumptions about the 'draft' status.

Instead, let's switch to a 'new' post_status which we'll display as Pending initial review. This will allow us to avoid the WordPress assumptions, and start on the journey of having a proper reviewer workflow using custom statuses.

Change History (4)

#1 @dd32
8 years ago

In 5318:

Plugin Directory: Introduce the 'new' post_status to replace 'draft', this will allow a better more well-defined statuses for plugins.

See #2716

#2 @dd32
8 years ago

In 5319:

Plugin Directory: Update the initial plugin_status meta field to match the post_status of newly submitted plugins.

See #2716

#3 @dd32
8 years ago

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

Marking as fixed, if I missed anything create a new ticket, or comment here if it's minor (please @dd32 me though)

#4 @dd32
8 years ago

We may also want to consider moving away from pending to a different post_status for any yet-to-be-discovered quirks of the inbuilt pending status.

That may bode well with splitting the status from just Pending to something such as Pending awaiting Developer, Pending awaiting Security Review, Pending awaiting Plugin Admin Review, etc. Creating multiple statuses and referencing it as Plugin_Directory::$pending_plugin_statuses could make a lot of the core easier to handle.

Note: See TracTickets for help on using tickets.