Make WordPress Core


Ignore:
Timestamp:
06/14/2007 03:38:51 AM (19 years ago)
Author:
markjaquith
Message:

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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}
Note: See TracChangeset for help on using the changeset viewer.