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

WordPress Trac noreply at wordpress.org
Tue Jan 20 09:29:30 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:                      |     Focuses:  performance
--------------------------------+------------------------------

Comment (by martin.krcho):

 It is slightly related to #31047. I guess what I'm trying to say is that
 the pre_option_ filter does not support options with values of FALSE.
 Unfortunately, I have plenty of those and I would like to use the filter
 to short-circuit the retrieval of the option values. Is there any chance
 that this change could make it into the next release?

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


More information about the wp-trac mailing list