Changeset 11059
- Timestamp:
- 06/25/2021 12:33:56 AM (4 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
r11038 r11059 952 952 ) ); 953 953 954 $theme_is_older_than_two_years = $this->theme_post && ( strtotime( $this->theme_post->post_modified ) < strtotime( '-2 years' ) ); 955 956 // Theme review team auto-approves theme-updates, so mark the theme as live immediately, if last updated within two years. 954 // Theme review team auto-approves theme-updates, so mark the theme as live immediately. 957 955 // Note that this only applies to new ticket creation, so it won't happen on themes with existing outstanding tickets 958 if ( ! $theme_is_older_than_two_years &&$this->trac_ticket->priority == 'theme update' ) {956 if ( $this->trac_ticket->priority == 'theme update' ) { 959 957 $this->trac->ticket_update( $ticket_id, 'Theme Update for existing Live theme - automatically reviewed & approved', array( 'action' => 'new_no_review' ), false ); 960 958
Note: See TracChangeset
for help on using the changeset viewer.