- Timestamp:
- 12/15/2017 12:13:33 AM (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg/search.php
r6257 r6277 17 17 18 18 <header class="page-header"> 19 <h1 class="page-title"><?php printf( __( 'Search Results for: %s', 'wporg' ), get_search_query() ); ?></h1> 19 <h1 class="page-title"> 20 <?php 21 printf( 22 /* translators: Search query. */ 23 esc_html__( 'Search Results for: %s', 'wporg' ), 24 get_search_query() 25 ); 26 ?> 27 </h1> 20 28 </header><!-- .page-header --> 21 29 … … 31 39 </header><!-- .entry-header --> 32 40 33 <?php if ( 'post' == get_post_type() ) : ?>41 <?php if ( 'post' === get_post_type() ) : ?> 34 42 <div class="entry-meta"><?php entry_meta(); ?></div> 35 43 <?php endif; ?> … … 43 51 edit_post_link( 44 52 sprintf( 45 /* translators: %s: Name of current post */53 /* translators: %s: Name of current post */ 46 54 __( 'Edit<span class="screen-reader-text"> "%s"</span>', 'wporg' ), 47 55 get_the_title() … … 60 68 the_posts_pagination(); 61 69 62 // If no content, include the "No posts found" template.70 // If no content, include the "No posts found" template. 63 71 else : 64 72 get_template_part( 'template-parts/content', 'none' );
Note: See TracChangeset
for help on using the changeset viewer.