• I’m writing a plugin for wordpress that puts a link to other script into the content passing into the url some parameters. The link is something like:

    script.php?par=1&par2=2

    The problem is that the link is somehow filtered into

    script.php?par=1&par2=2

    Is there any way to avoid this.

    Thanks a lot in advance.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter sickboy

    (@sickboy)

    Wooops. Seems here is changes inverse ?? the second line is something like

    script.php=par=1& a m p ;par2=2

    Well if the link is changed into:

    script.php=par=1&par2=2

    in your HTML code, that is a good thing. WordPress is making your HTML valid. It will not affect the functionality of the link whatsoever

    Thread Starter sickboy

    (@sickboy)

    but it does affect. php script gets par1 as 1 but it does not get any other parameter

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Bypassing WordPress filter in a plugin’ is closed to new replies.