Changeset 9989 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/inc/template-tags.php
- Timestamp:
- 07/01/2020 06:55:10 PM (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/inc/template-tags.php
r9784 r9989 229 229 $days_passed = (int) ( ( current_time( 'timestamp' ) - mysql2date( 'U', $closed_date ) ) / DAY_IN_SECONDS ); 230 230 231 // If we're closed, it may be permanent. 231 232 if ( $permanent ) { 232 233 $message .= ' ' . __( 'This closure is permanent.', 'wporg-plugins' ); 233 234 } elseif ( $days_passed < 60 ) { 234 235 $message .= ' ' . __( 'This closure is temporary, pending a full review.', 'wporg-plugins' ); 235 } else { 236 // Display close reason if more than 60 days have passed. 236 } 237 238 // Display close reason if more than 60 days have passed. 239 if ( $days_passed >= 60 ) { 237 240 /* translators: %s: plugin close/disable reason */ 238 241 $message .= ' ' . sprintf( __( 'Reason: %s.', 'wporg-plugins' ), $close_reason );
Note: See TracChangeset
for help on using the changeset viewer.