Ticket #4718: 4718-2.diff
File 4718-2.diff, 872 bytes (added by , 5 years ago) |
---|
-
trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/inc/template-tags.php
224 224 225 225 // Determine permanence of closure. 226 226 $contributors = get_the_terms( $post, 'plugin_contributors' ); 227 $permanent = ( 'author-request' === $close_reason || ! $contributors || is_wp_error( $contributors ) ) ;227 $permanent = ( 'author-request' === $close_reason || ! $contributors || is_wp_error( $contributors ) ) ? true : false; 228 228 229 229 $days_passed = (int) ( ( current_time( 'timestamp' ) - mysql2date( 'U', $closed_date ) ) / DAY_IN_SECONDS ); 230 230