wp_specialchars the request uri when contructing paging links. fixes #1686

git-svn-id: http://svn.automattic.com/wordpress/trunk@3440 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan 2006-01-15 23:42:10 +00:00
parent 43abf185f3
commit 86d3dbb81f

View File

@ -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/";