Changeset 6347 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme-single.php
- Timestamp:
- 01/11/2018 06:52:58 PM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme-single.php
r6335 r6347 10 10 <div class="theme-about hentry" itemscope itemtype="http://schema.org/CreativeWork"> 11 11 <?php if ( time() - strtotime( $theme->last_updated ) > 2 * YEAR_IN_SECONDS ) { ?> 12 <div class="theme-notice notice notice-warning ">12 <div class="theme-notice notice notice-warning notice-alt"> 13 13 <p><?php _e( 'This theme <strong>hasn’t been updated in over 2 years</strong>. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.', 'wporg-themes' ); ?></p> 14 14 </div><!-- .theme-notice --> … … 32 32 33 33 <?php if ( !empty( $theme->parent ) ) { ?> 34 <div class="theme-notice notice notice-info ">34 <div class="theme-notice notice notice-info notice-alt"> 35 35 <p class="parent"><?php printf( __( 'This is a child theme of %s.', 'wporg-themes' ), sprintf( '<a href="%1$s">%2$s</a>', home_url( $theme->parent['slug'] . '/' ), esc_html( $theme->parent['name'] ) ) ); ?></p> 36 36 </div>
Note: See TracChangeset
for help on using the changeset viewer.