Changeset 639 for sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
- Timestamp:
- 05/23/2014 05:58:19 AM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
r591 r639 26 26 <?php 27 27 $source_file = get_source_file(); 28 if ( ! empty( $source_file ) ) : ?> 29 <section class="source"> 30 <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> 31 </section> 28 if ( ! empty( $source_file ) ) : 29 ?> 30 <section class="source"> 31 <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> 32 <p><a href="<?php echo get_source_file_link(); ?>"><?php _e( 'View source…', 'wporg' ); ?></a></p> 33 </section> 32 34 <?php endif; ?> 33 35
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)