[wp-trac] [WordPress Trac] #13310: Extend option_name to varchar(255)
WordPress Trac
noreply at wordpress.org
Fri Oct 19 09:39:29 UTC 2012
#13310: Extend option_name to varchar(255)
-----------------------------------+-----------------------------
Reporter: scribu | Owner: ryan
Type: enhancement | Status: new
Priority: normal | Milestone: Future Release
Component: Database | Version: 3.4.2
Severity: normal | Resolution:
Keywords: has-patch 2nd-opinion |
-----------------------------------+-----------------------------
Changes (by fabio84):
* cc: fabio84 (added)
* version: => 3.4.2
Comment:
Wow, in 2 years you were not able to make option_name a varchar(255)... I
tried to use get_transient and set_transient, but I got stuck by this
"feature".
As reported also in http://core.trac.wordpress.org/ticket/15058 with
transient values the limit is 45 characters, and if you use hashes and
long identifiers to avoid collisions it's quite easy to reach the limit.
Please excuse me for this rant, but developing WordPress plugins using its
APIs sometimes is frustrating.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/13310#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list