Ticket #17562: 17562.the-permalink-escape-output.diff
File 17562.the-permalink-escape-output.diff, 471 bytes (added by , 14 years ago) |
---|
-
wp-includes/link-template.php
13 13 * @uses apply_filters() Calls 'the_permalink' filter on the permalink string. 14 14 */ 15 15 function the_permalink() { 16 echo apply_filters('the_permalink', get_permalink());16 echo esc_url( apply_filters( 'the_permalink', get_permalink() ) ); 17 17 } 18 18 19 19 /**