Ticket #1268: 1268.patch
| File 1268.patch, 1.6 KB (added by , 10 years ago) |
|---|
-
trunk/wordpress.org/public_html/wp-content/themes/pub/wporg-developer/content-reference.php
140 140 while ( $used_by->have_posts() ) : $used_by->the_post(); 141 141 ?> 142 142 <li> 143 <span><?php echo esc_attr( get_source_file() ); ?>:</span> 144 <a href="<?php the_permalink(); ?>"><?php the_title(); ?><?php if ( 'wp-parser-hook' !== get_post_type() ) : ?>()<?php endif; ?></a> 143 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_source_file() ); ?>"><?php the_title(); ?><?php if ( 'wp-parser-hook' !== get_post_type() ) : ?>()<?php endif; ?></a> 145 144 </li> 146 145 <?php endwhile; wp_reset_postdata(); ?> 147 146 <?php if ( $used_by->post_count > $used_by_to_show ) : ?> … … 165 164 while ( $uses->have_posts() ) : $uses->the_post() 166 165 ?> 167 166 <li> 168 <span><?php echo esc_attr( get_source_file() ); ?>:</span> 169 <a href="<?php the_permalink(); ?>"><?php the_title(); ?><?php if ( 'wp-parser-hook' !== get_post_type() ) : ?>()<?php endif; ?></a> 167 <a href="<?php the_permalink(); ?>" title="<?php echo esc_attr( get_source_file() ); ?>"><?php the_title(); ?><?php if ( 'wp-parser-hook' !== get_post_type() ) : ?>()<?php endif; ?></a> 170 168 </li> 171 169 <?php endwhile; wp_reset_postdata(); ?> 172 170 <?php if ( $uses->post_count > $uses_to_show ) : ?>