Changeset 639 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php
- Timestamp:
- 05/23/2014 05:58:19 AM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-wp-parser-hook.php
r561 r639 4 4 5 5 <h1><a href="<?php the_permalink() ?>"><?php echo get_signature(); ?></a></h1> 6 7 6 <section class="description"> 8 7 <?php the_excerpt(); ?> … … 25 24 <?php 26 25 $source_file = get_source_file(); 27 if ( ! empty( $source_file ) ) : ?> 28 <section class="source"> 29 <p><strong><?php _e( 'Source:', 'wporg' ); ?></strong> <a href="<?php echo get_source_file_link( $source_file ); ?>"><?php echo esc_html( $source_file ); ?></a></p> 30 </section> 26 if ( ! empty( $source_file ) ) : 27 ?> 28 <section class="source"> 29 <p><strong><?php _e( 'Source file:', 'wporg' ); ?> </strong><a href="<?php echo get_source_file_archive_link( $source_file ); ?>"><?php echo esc_html( $source_file ); ?></a></p> 30 <p><a href="<?php echo get_source_file_link(); ?>"><?php _e( 'View source…', 'wporg' ); ?></a></p> 31 </section> 31 32 <?php endif; ?> 32 33
Note: See TracChangeset
for help on using the changeset viewer.