WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #20357, comment 2


Ignore:
Timestamp:
04/04/12 22:23:36 (3 years ago)
Author:
wpsmith
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20357, comment 2

    v1 v2  
    1 I probably missed it but where is the return null function? I see `__return_false` but don't see `__return_null`. If I am not mistaken those are two different ideas/purposes. Likewise, if one wishes to be consistent with types, it would be beneficial to have `__return_empty_string`. 
     1I probably missed it but where is the return null function? I see `__return_false` but don't see `__return_null`. If I am not mistaken those are two different ideas/purposes. Likewise, if one wishes to be consistent with types, it would be beneficial to have `__return_empty_string` and maybe even `__return_null` (if it doesn't exist already).