[wp-trac] [WordPress Trac] #31061: Accept FALSE as valid value from "pre_option_" hook
WordPress Trac
noreply at wordpress.org
Wed Jan 21 09:43:16 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):
@ashfame, thank you for your comments. I am using W3TC's caching, but not
for the objects. However, I would like to filter the options I cache and
the W3TC doesn't give me that option. I still hope the "pre_option_"
filter will change. I noticed that the get_{type}_metadata filter is
short-circuiting the method execution for non-NULL values. What is the
best way to make this a high priority?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/31061#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list