[wp-trac] [WordPress Trac] #18322: The Road to Magic Quotes Sanity

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 3 20:59:44 UTC 2011


#18322: The Road to Magic Quotes Sanity
--------------------------+-----------------------------
 Reporter:  ryan          |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Future Release
Component:  General       |     Version:  3.2.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+-----------------------------

Comment (by nacin):

 JJJ would want me to recommend that these functions are named
 maybe_unslash() and maybe_slash().

 I like this - let's consider encapsulating the global inside a function
 that can be called to A) set and B) get the value. As in, one less global.

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


More information about the wp-trac mailing list