mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
escape URL in wp_link_pages. fixes #14271.
git-svn-id: https://develop.svn.wordpress.org/trunk@16539 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -692,7 +692,7 @@ function _wp_link_page( $i ) {
|
||||
$url = trailingslashit(get_permalink()) . user_trailingslashit($i, 'single_paged');
|
||||
}
|
||||
|
||||
return '<a href="' . $url . '">';
|
||||
return '<a href="' . esc_url( $url ) . '">';
|
||||
}
|
||||
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user