[wp-trac] [WordPress Trac] #20439: Introduce __return_one function

WordPress Trac wp-trac at lists.automattic.com
Fri Apr 13 20:03:54 UTC 2012


#20439: Introduce __return_one function
-----------------------------+------------------------------
 Reporter:  bananastalktome  |       Owner:
     Type:  enhancement      |      Status:  new
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:                   |
-----------------------------+------------------------------

Comment (by scribu):

 Let's not get carried away with these.

 I would argue that even `__return_zero()` isn't common enough.

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


More information about the wp-trac mailing list