Changeset 5703

Show
Ignore:
Timestamp:
06/14/07 03:38:51 (1 year ago)
Author:
markjaquith
Message:

only strip question marks from the RIGHT side of the query string. fixes #4464. see #4462

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/2.2/wp-includes/functions.php

    r5507 r5703  
    825825    $ret = trim($ret, '?'); 
    826826    $ret = $protocol . $base . $ret . $frag; 
    827     $ret = trim($ret, '?'); 
     827    $ret = rtrim($ret, '?'); 
    828828    return $ret; 
    829829}