Changeset 1219 for sites/trunk/wordpress.org/public_html/wp-content/plugins/theme-directory/class-wporg-themes-upload.php
- Timestamp:
- 02/04/2015 06:37:01 PM (10 years ago)
- 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 470 470 } 471 471 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 ] ) { 474 474 $ticket_id = (int) $this->theme_post->_ticket_id[ $this->theme_post->max_version ]; 475 475 $ticket = $this->trac->ticket_get( $ticket_id );
Note: See TracChangeset
for help on using the changeset viewer.