Making WordPress.org


Ignore:
Timestamp:
06/17/2016 07:19:00 AM (10 years ago)
Author:
obenland
Message:

Plugin Directory: Updated no-results styles.

See #1719.

File:
1 edited

Legend:

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

    r3372 r3393  
    1313
    1414$GLOBALS['pagetitle'] = __( 'Plugin Directory — Free WordPress Plugins', 'wporg-plugins' );
    15 $description = get_bloginfo( 'description', 'display' );
    16 
    1715require WPORGPATH . 'header.php';
    1816?>
     
    2321        <div class="site-branding">
    2422            <?php if ( is_front_page() && is_home() ) : ?>
    25                 <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></h1>
     23                <h1 class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Plugins','Site title', 'wporg-plugins' ); ?></a></h1>
    2624            <?php else : ?>
    27                 <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php bloginfo( 'name' ); ?></a></p>
     25                <p class="site-title"><a href="<?php echo esc_url( home_url( '/' ) ); ?>" rel="home"><?php _ex( 'Plugins','Site title', 'wporg-plugins' ); ?></a></p>
    2826            <?php endif; ?>
    2927
    30             <?php if ( is_home() || is_search() ) :
    31                 if ( $description || is_customize_preview() ) : ?>
    32                 <p class="site-description"><?php echo $description; /* WPCS: xss ok. */ ?></p>
    33                     <?php endif; ?>
     28            <?php if ( is_home() ) : ?>
     29                <p class="site-description"><?php _e( 'Plugins extend and expand the functionality of WordPress.', 'wporg-plugins' ); ?></p>
    3430                <?php get_search_form(); ?>
    3531            <?php else : ?>
Note: See TracChangeset for help on using the changeset viewer.