diff --git wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/plugin-single.php
index d56ec473..28384e87 100644
|
|
$status = get_post_status(); |
54 | 54 | // fall through |
55 | 55 | default: |
56 | 56 | case 'closed': |
57 | | $message = __( 'This plugin has been closed and is no longer available for download.', 'wporg-plugins' ); |
| 57 | $message = __( 'This plugin has been closed and is no longer available for download.', 'wporg-plugins' ); |
58 | 58 | break; |
59 | 59 | } |
| 60 | |
| 61 | if ( in_array( $status, array( 'closed', 'disabled' ) ) ) { |
| 62 | $closed_date = get_post_meta( 'plugin_closed_date' ); |
| 63 | if ( ! empty( $closed_date ) ) { |
| 64 | $message .= '<br/>'.'This plugin was closed on ' . mysql2date( get_option( 'date_format' ), $closed_date ); |
| 65 | } |
| 66 | } |
60 | 67 | ?> |
61 | 68 | <div class="plugin-notice notice <?php echo esc_attr( $notice_type ); ?> notice-alt"> |
62 | 69 | <p><?php echo $message; ?></p> |