[wp-trac] [WordPress Trac] #31061: Accept FALSE as valid value from "pre_option_" hook

WordPress Trac noreply at wordpress.org
Tue Jan 27 14:52:29 UTC 2015


#31061: Accept FALSE as valid value from "pre_option_" hook
--------------------------------+------------------------------
 Reporter:  martin.krcho        |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Awaiting Review
Component:  Options, Meta APIs  |     Version:  4.1
 Severity:  normal              |  Resolution:
 Keywords:  close               |     Focuses:  performance
--------------------------------+------------------------------

Comment (by martin.krcho):

 @boonebgorges, I understand the implications of this change. However, I
 still need to figure out a way around this. Let's try this from a
 different angle: how would I go about caching options values that are not
 autoloaded and can return false as a valid option value? Is there anything
 I am missing or is it simply not possible using current latest WordPress
 version? Thanks

--
Ticket URL: <https://core.trac.wordpress.org/ticket/31061#comment:7>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list