Changeset 3393 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
- Timestamp:
- 06/17/2016 07:19:00 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-plugins/header.php
r3372 r3393 13 13 14 14 $GLOBALS['pagetitle'] = __( 'Plugin Directory — Free WordPress Plugins', 'wporg-plugins' ); 15 $description = get_bloginfo( 'description', 'display' );16 17 15 require WPORGPATH . 'header.php'; 18 16 ?> … … 23 21 <div class="site-branding"> 24 22 <?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> 26 24 <?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> 28 26 <?php endif; ?> 29 27 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> 34 30 <?php get_search_form(); ?> 35 31 <?php else : ?>
Note: See TracChangeset
for help on using the changeset viewer.