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:
parent
0053f9b5e1
commit
612a6bda24
|
@ -692,7 +692,7 @@ function _wp_link_page( $i ) {
|
||||||
$url = trailingslashit(get_permalink()) . user_trailingslashit($i, 'single_paged');
|
$url = trailingslashit(get_permalink()) . user_trailingslashit($i, 'single_paged');
|
||||||
}
|
}
|
||||||
|
|
||||||
return '<a href="' . $url . '">';
|
return '<a href="' . esc_url( $url ) . '">';
|
||||||
}
|
}
|
||||||
|
|
||||||
//
|
//
|
||||||
|
|
Loading…
Reference in New Issue