WordPress.org

Making WordPress.org


Ignore:
Timestamp:
01/11/2018 06:52:58 PM (3 years ago)
Author:
obenland
Message:

Themes: Sync Theme Dir styles with Plugin Dir

Brings details like button color or link decorations in sync with recent updates to w.org.

Props Shital Patel for initial patch.
Fixes #3297, #3298.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-themes/theme-single.php

    r6335 r6347  
    1010        <div class="theme-about hentry" itemscope itemtype="http://schema.org/CreativeWork">
    1111            <?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">
    1313                <p><?php _e( 'This theme <strong>hasn&#146;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>
    1414            </div><!-- .theme-notice -->
     
    3232
    3333                <?php if ( !empty( $theme->parent ) ) { ?>
    34                 <div class="theme-notice notice notice-info">
     34                <div class="theme-notice notice notice-info notice-alt">
    3535                    <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>
    3636                </div>
Note: See TracChangeset for help on using the changeset viewer.