[wp-trac] [WordPress Trac] #4221: Allow pure wp_nonce_url urls

WordPress Trac wp-trac at lists.automattic.com
Fri May 4 04:29:33 GMT 2007

#4221: Allow pure wp_nonce_url urls
 Reporter:  filosofo        |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  normal          |   Milestone:  2.3      
Component:  Administration  |     Version:  2.3      
 Severity:  normal          |    Keywords:           
 wp_nonce_url sends the url through wp_specialchars, which converts {{{&}}}
 into {{{&}}}

 That's great for standards-compliant links, but if you're trying, for
 example, to use a nonce in a url passed to JavaScript, it can cause
 problems, as at least Firefox chokes when JavaScript requests a url with
 {{{&}}} instead of {{{&}}}.

 My patch allows you to toggle off the wp_specialchars; the default
 behavior remains the same.

Ticket URL: <http://trac.wordpress.org/ticket/4221>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software

More information about the wp-trac mailing list