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

WordPress Trac wp-trac at lists.automattic.com
Wed Aug 3 22:33:06 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 scribu):

 +1 on maybe_*()

 > 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.

 Static variable?

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


More information about the wp-trac mailing list