Support » Fixing WordPress » Disabling wptexturize & symbol replacement

  • Hi,
    I have a weird problem where I’m trying to pass GET variables in a redirect URL – e.g. – but for some reason the & symbols are replaced by & in the URL – which of course doesn’t work.

    I can fix this by commenting out the following line (85) from the formatting.php file:
    $curl = preg_replace('/&([^#])(?![a-zA-Z1-4]{1,8};)/', '&$1', $curl);

    But – my question is – what else does this line/wptexturize affect? Is this going to muck up my use of & symbols across the whole site?

    Thanks in advance!

    Sorry for the weird code formatting by the way, but if I write & in one line it turns into an &!

Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Disabling wptexturize & symbol replacement’ is closed to new replies.