Changeset 5260
- Timestamp:
- 04/12/07 21:59:31 (2 years ago)
- Files:
-
- trunk/wp-includes/link-template.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-includes/link-template.php
r5150 r5260 443 443 444 444 // if we already have a QUERY style page string 445 if ( stri str( $qstr, $page_querystring )) {445 if ( stripos( $qstr, $page_querystring ) !== false ) { 446 446 $replacement = "$page_querystring=$pagenum"; 447 447 $qstr = preg_replace("/".$page_querystring."[^\d]+\d+/", $replacement, $qstr); … … 456 456 // we need to know the way queries are being written 457 457 // if there's a querystring_start (a "?" usually), it's definitely not mod_rewritten 458 if ( stri str( $qstr, '?' )) {458 if ( stripos( $qstr, '?' ) !== false ) { 459 459 // so append the query string (using &, since we already have ?) 460 460 $qstr .= '&' . $page_querystring . '=' . $pagenum;
