WordPress.org

Make WordPress Core

Changeset 5704


Ignore:
Timestamp:
06/14/07 04:44:06 (7 years ago)
Author:
markjaquith
Message:

only strip question marks from the RIGHT side of the query string. fixes #4464 for trunk

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r5700 r5704  
    628628    $ret = trim($ret, '?'); 
    629629    $ret = $protocol . $base . $ret . $frag; 
    630     $ret = trim($ret, '?'); 
     630    $ret = rtrim($ret, '?'); 
    631631    return $ret; 
    632632} 
Note: See TracChangeset for help on using the changeset viewer.