WordPress.org

Making WordPress.org


Ignore:
Timestamp:
02/04/2015 06:37:01 PM (7 years ago)
Author:
obenland
Message:

WP.org Themes: Remove approval workflow.

Theme Review Admins do a final check on Trac and set themes live from there.
For the off chance that a ticket needs manual adjustment, version statuses can
be changed in the edit screen of a repopackage item.

This also removes Trac syncing, in order for it to be added as a script on the
dotorg side.

See https://wordpress.slack.com/archives/meta/p1423071510000491
See #745.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php

    r1216 r1219  
    470470        }
    471471
    472         // If there's a previous version, and the most current version's status is either `new` or `pending`, we update.
    473         if ( ! empty( $this->theme_post->max_version ) && in_array( $this->theme_post->_status[ $this->theme_post->max_version ], array( 'new', 'pending' ) ) ) {
     472        // If there's a previous version and the most current version's status is `new`, we update.
     473        if ( ! empty( $this->theme_post->max_version ) && 'new' == $this->theme_post->_status[ $this->theme_post->max_version ] ) {
    474474            $ticket_id = (int) $this->theme_post->_ticket_id[ $this->theme_post->max_version ];
    475475            $ticket    = $this->trac->ticket_get( $ticket_id );
Note: See TracChangeset for help on using the changeset viewer.