Making WordPress.org

Changeset 2691


Ignore:
Timestamp:
03/03/2016 10:14:42 PM (9 years ago)
Author:
Otto42
Message:

Looks like you have to set the ticket to reviewing before it can be approved. Will look into the process later, this is a workaround for testing.

File:
1 edited

Legend:

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

    r2686 r2691  
    615615            // Note that this only applies to new ticket creation, so it won't happen on themes with existing outstanding tickets
    616616            if ( $this->trac_ticket->priority == 'theme update' ) {
     617                $this->trac->ticket_update( $ticket_id, 'Theme Update for existing Live theme - automatically reviewed', array( 'action' => 'review' ), false );
    617618                $this->trac->ticket_update( $ticket_id, 'Theme Update for existing Live theme - automatically approved', array( 'action' => 'approve_and_live' ), false );
    618619                // temporary debugging - email otto about it TODO remove this after testing
Note: See TracChangeset for help on using the changeset viewer.