Forums

Help with wp_nonce_url() (3 posts)

  1. techguy
    Member
    Posted 1 year ago #

    I'm using wp_nonce_url($url, 'my-nonce') and it's converting my $url, which includes a few variables separated by &, into & amp;

    So, for example, http:// www.domain.com/?var1=7&var2=12 becomes http:// www.domain.com/?var1=7& amp;var2=12_&wpnonce=48ea26a9c3

    Any way around this, since this makes var2 become amp;var2 when calling the $_GET?

  2. techguy
    Member
    Posted 1 year ago #

    Anyone have any thoughts on how to make this not convert the & ?

  3. techguy
    Member
    Posted 1 year ago #

    I've found this trac ticket about it, but I can't quite understand what's happening:
    http://core.trac.wordpress.org/ticket/4221

    Can anyone help?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.