mirror of
git://develop.git.wordpress.org/
synced 2025-01-31 12:29:09 +01:00
wp_specialchars the request uri when contructing paging links. fixes #1686
git-svn-id: https://develop.svn.wordpress.org/trunk@3440 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
78f83fd29e
commit
353b0b2b5c
@ -382,7 +382,7 @@ function next_post($format='%', $next='next post: ', $title='yes', $in_same_cat=
|
||||
function get_pagenum_link($pagenum = 1) {
|
||||
global $wp_rewrite;
|
||||
|
||||
$qstr = $_SERVER['REQUEST_URI'];
|
||||
$qstr = wp_specialchars($_SERVER['REQUEST_URI']);
|
||||
|
||||
$page_querystring = "paged";
|
||||
$page_modstring = "page/";
|
||||
|
Loading…
x
Reference in New Issue
Block a user