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

WordPress Trac noreply at wordpress.org
Tue Oct 28 21:43:22 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:
--------------------------------+-----------------------------
Changes (by MikeHansenMe):

 * keywords:  has-patch needs-unit-tests => has-patch


Comment:

 Instead of failing if it is too long the patch I uploaded md5 the name AND
 prefixes it with md5. This works for options and transients. Unit tests
 included.

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


More information about the wp-trac mailing list