Changeset 5597
- Timestamp:
- 06/27/2017 09:59:38 PM (8 years ago)
- Location:
- sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/inc/template-tags.php
r5580 r5597 535 535 $types = array(); 536 536 537 if ( 'wp-parser-class' === get_post_type( $post_id ) ) { 538 return $signature; 539 } 540 537 541 if ( $tags ) { 538 542 foreach ( $tags as $tag ) { -
sites/trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/reference/template-related.php
r3811 r5597 30 30 <li> 31 31 <span><?php echo esc_attr( get_source_file() ); ?>:</span> 32 <a href="<?php the_permalink(); ?>"><?php the_title(); ?><?php if ( 'wp-parser-hook' !== get_post_type() ) : ?>()<?php endif; ?></a>32 <a href="<?php the_permalink(); ?>"><?php the_title(); ?><?php if ( ! in_array( get_post_type(), array( 'wp-parser-class', 'wp-parser-hook' ) ) ) : ?>()<?php endif; ?></a> 33 33 </li> 34 34 <?php endwhile; wp_reset_postdata(); ?> … … 59 59 <li> 60 60 <span><?php echo esc_attr( get_source_file() ); ?>:</span> 61 <a href="<?php the_permalink(); ?>"><?php the_title(); ?><?php if ( 'wp-parser-hook' !== get_post_type() ) : ?>()<?php endif; ?></a>61 <a href="<?php the_permalink(); ?>"><?php the_title(); ?><?php if ( ! in_array( get_post_type(), array( 'wp-parser-class', 'wp-parser-hook' ) ) ) : ?>()<?php endif; ?></a> 62 62 </li> 63 63 <?php endwhile; wp_reset_postdata(); ?>
Note: See TracChangeset
for help on using the changeset viewer.