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:
Andrew Nacin 2010-11-22 23:54:30 +00:00
parent 0053f9b5e1
commit 612a6bda24
1 changed files with 1 additions and 1 deletions

View File

@ -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 ) . '">';
} }
// //