[wp-trac] [WordPress Trac] #13051: admin_url() and site_url() shouldn't need esc_url()

WordPress Trac wp-trac at lists.automattic.com
Thu Apr 22 14:43:33 UTC 2010


#13051: admin_url() and site_url() shouldn't need esc_url()
-------------------------+--------------------------------------------------
 Reporter:  alexkingorg  |       Owner:     
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.0
Component:  Formatting   |     Version:  3.0
 Severity:  normal       |    Keywords:     
-------------------------+--------------------------------------------------

Comment(by scribu):

 What about this combination, used throughout the admin area:

 {{{wp_nonce_url(admin_url('...');}}}

 Note that wp_nonce_url() already calls esc_html() internally.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/13051#comment:3>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list