Changeset 6225 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/section-advanced.php
- Timestamp:
- 12/03/2017 09:41:48 PM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/template-parts/section-advanced.php
r6118 r6225 14 14 15 15 <div id="admin" class="section"> 16 <?php 17 $status = get_post_status(); 18 if ( in_array( $status, array( 'closed', 'disabled' ) ) ) { 19 echo '<div class="plugin-notice notice notice-error notice-alt"><p>' . __( 'This plugin has been closed and is no longer available for download.', 'wporg-plugins' ) . '</p></div>'; 20 if ( get_current_user_id() == get_post()->post_author ) { 21 echo '<div class="plugin-notice notice notice-info notice-alt"><p>' . 22 sprintf( 23 /* translators: 1: plugins@wordpress.org */ 24 __( 'If you did not request this change, please contact <a href="mailto:%1$s">%1$s</a> for a status. All developers with commit access are contacted when a plugin is closed, with the reasons why, so check your spam email too.', 'wporg-plugins' ), 25 'plugins@wordpress.org' 26 ) . '</p></div><!-- .plugin-notice -->'; 27 } 28 } 29 30 ?> 16 31 <h2><?php _e( 'Plugin Stats', 'wporg-plugins' ); ?></h2> 17 32
Note: See TracChangeset
for help on using the changeset viewer.