WordPress.org

Make WordPress Core

Ticket #44499: 44499.patch

File 44499.patch, 414 bytes (added by sabernhardt, 4 months ago)

replace ?# with #

  • src/wp-includes/functions.php

     
    11491149        $ret = preg_replace( '#=(&|$)#', '$1', $ret );
    11501150        $ret = $protocol . $base . $ret . $frag;
    11511151        $ret = rtrim( $ret, '?' );
     1152        $ret = str_replace( '?#', '#', $ret );
    11521153        return $ret;
    11531154}
    11541155