Making WordPress.org


Ignore:
Timestamp:
04/28/2016 06:01:20 PM (9 years ago)
Author:
obenland
Message:

Plugin Directory: Introduce an approved post status.

Approving a plugin creates the SVN repo and commits the approved plugin files
to that repo. It also add the plugin author to the list of authorised
committers and sends out a congratulatory email.

A plugin will require an initial SVN commit by the post author to then be moved
to publish, making it visible in the directory.

See https://wordpress.slack.com/archives/meta/p1461805883000448
See #1570.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/plugin-directory/admin/metabox/class-controls.php

    r2996 r3036  
    4444        if ( current_user_can( 'plugin_approve', $post ) ) {
    4545            if ( in_array( $post->post_status, array( 'draft', 'pending', 'rejected' ) ) ) {
    46                 $statuses = array_merge( $statuses, array( 'publish', 'rejected' ) );
     46                $statuses = array_merge( $statuses, array( 'approved', 'rejected' ) );
    4747            } else {
    4848                $statuses = array( 'publish', 'disabled', 'closed' );
Note: See TracChangeset for help on using the changeset viewer.