[wp-trac] [WordPress Trac] #15058: Validate option and transient name lengths

WordPress Trac noreply at wordpress.org
Wed Oct 29 16:04:15 UTC 2014


#15058: Validate option and transient name lengths
--------------------------------+-----------------------------
 Reporter:  chrisjean           |       Owner:
     Type:  enhancement         |      Status:  new
 Priority:  normal              |   Milestone:  Future Release
Component:  Options, Meta APIs  |     Version:  3.1
 Severity:  normal              |  Resolution:
 Keywords:  has-patch           |     Focuses:
--------------------------------+-----------------------------

Comment (by ChrisLTD):

 As a theme developer that's run into transient name length bugs a few
 times, I would prefer errors when attempting to save transients that are
 too long. Then each developer can decide what workaround is best for their
 project if they need long transient names. The Codex could have an example
 of the "preferred" workaround using an MD5 hash.

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


More information about the wp-trac mailing list