[wp-trac] [WordPress Trac] #32071: Function to generate safe & trusted URLs

WordPress Trac noreply at wordpress.org
Wed Apr 22 21:18:05 UTC 2015


#32071: Function to generate safe & trusted URLs
-----------------------------+------------------------------
 Reporter:  johnjamesjacoby  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  has-patch        |     Focuses:
-----------------------------+------------------------------

Comment (by johnbillion):

 I'm not a fan of escaping inside functions. Developers should become
 familiar with late escaping. I think a function like this introduces yet
 more inconsistency and gives the wrong impression that you can trust the
 output of some functions.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32071#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list