[wp-trac] [WordPress Trac] #19618: Extending the Transient API outside of the wp_options table
WordPress Trac
wp-trac at lists.automattic.com
Mon Dec 19 20:51:49 UTC 2011
#19618: Extending the Transient API outside of the wp_options table
-----------------------------+-----------------------------
Reporter: VicePrez | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Cache | Version:
Severity: trivial | Keywords:
-----------------------------+-----------------------------
I was wondering if the dev team would consider extending the Transients
API outside of the `wp_options` table to a user-specified table.
I've managed to mimic, to a certain extent, the `*_transient` and
`*_option` family of functions with my own functions, and sql queries, to
check, update, insert, and delete sql data. I find myself at awe, when I
realize I could have easily achieved the same thing with a few lines of
code using the Transients API.
Needless to say, this could benefit a lot of plugin authors who resort to
creating their own tables to store temporary data. The creation of sql
tables, should be left up to the plugins author, but in my opinion, it's
better to stay in house and use the Transients API to insert, and remove
data instead of having to build something from scratch.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/19618>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list