[wp-trac] [WordPress Trac] #12300: Allow filtration of image src URLs in wp-admin/

WordPress Trac wp-trac at lists.automattic.com
Sat Feb 20 19:32:18 UTC 2010


#12300: Allow filtration of image src URLs in wp-admin/
----------------------------+-----------------------------------------------
 Reporter:  mdawaffe        |       Owner:                  
     Type:  enhancement     |      Status:  new             
 Priority:  normal          |   Milestone:  3.0             
Component:  Administration  |     Version:  3.0             
 Severity:  normal          |    Keywords:  has-patch commit
----------------------------+-----------------------------------------------

Comment(by mdawaffe):

 Replying to [comment:3 nacin]:
 > I'd suggest s/clean_url/esc_url/, though.

 I looked to see which one was preferred.  I got as far as noting that
 clean_url() was in formatting.php and assumed esc_url() was only there for
 parallelism.  Can we deprecate clean_url() if it is, in fact, deprecated?
 (new ticket)

 Patch using esc_url() attached.

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


More information about the wp-trac mailing list