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

WordPress Trac noreply at wordpress.org
Wed Jul 6 21:28:32 UTC 2022

#20439: Introduce __return_one function
 Reporter:  bananastalktome  |       Owner:  (none)
     Type:  enhancement      |      Status:  reopened
 Priority:  normal           |   Milestone:
Component:  General          |     Version:
 Severity:  normal           |  Resolution:
 Keywords:  close            |     Focuses:
Changes (by pcfreak30):

 * status:  closed => reopened
 * resolution:  maybelater =>


 I may have moved on from this long ago, but this issue and request feel so
 simple, that I don't think you really can give a justification/use case
 for it outside the number of times you need to create this yourself in the

 I am also surprised this is still floating around due to how simple it is.

Ticket URL: <https://core.trac.wordpress.org/ticket/20439#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform

More information about the wp-trac mailing list