Changeset 54341
- Timestamp:
- 09/27/2022 10:24:13 PM (2 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-content/themes/twentyten/functions.php
r51482 r54341 327 327 */ 328 328 function twentyten_continue_reading_link() { 329 return ' <a href="' . get_permalink() . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) . '</a>';329 return ' <a href="' . esc_url( get_permalink() ) . '">' . __( 'Continue reading <span class="meta-nav">→</span>', 'twentyten' ) . '</a>'; 330 330 } 331 331 endif; … … 608 608 sprintf( 609 609 '<a href="%1$s" title="%2$s" rel="bookmark"><span class="entry-date">%3$s</span></a>', 610 get_permalink(),610 esc_url( get_permalink() ), 611 611 esc_attr( get_the_time() ), 612 612 get_the_date() … … 649 649 get_the_category_list( ', ' ), 650 650 $tags_list, 651 get_permalink(),651 esc_url( get_permalink() ), 652 652 the_title_attribute( 'echo=0' ) 653 653 );
Note: See TracChangeset
for help on using the changeset viewer.