[wp-trac] [WordPress Trac] #30577: Allow plugins to bypass wp_options when saving transients
WordPress Trac
noreply at wordpress.org
Fri Mar 13 02:20:18 UTC 2015
#30577: Allow plugins to bypass wp_options when saving transients
----------------------------------------+-----------------------------
Reporter: mgibbs189 | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Options, Meta APIs | Version: 2.8
Severity: normal | Resolution:
Keywords: has-patch commit 4.2-early | Focuses:
----------------------------------------+-----------------------------
Comment (by mgibbs189):
@nacin @mbrandys thanks for the feedback.
I think it'd be fine to move the hook above `wp_using_ext_object_cache()`
- I had moved it *after* `wp_using_ext_object_cache()` because I figured
external cache would need to take precedence. E.g. with the way it's
currently set up, external cache is given a chance to run before the
bypass filter.
Also, any suggestions for the filter name? Maybe something like
`bypass_set_transient`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30577#comment:15>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list