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

WordPress Trac noreply at wordpress.org
Thu May 16 13:19:14 UTC 2013


#15058: Validate option and transient name lengths
----------------------------------------+-----------------------------
 Reporter:  chrisbliss18                |       Owner:
     Type:  enhancement                 |      Status:  new
 Priority:  normal                      |   Milestone:  Future Release
Component:  Validation                  |     Version:  3.1
 Severity:  normal                      |  Resolution:
 Keywords:  has-patch needs-unit-tests  |
----------------------------------------+-----------------------------

Comment (by dartiss):

 Just to correct one statement made by Chris - the transient name length is
 45 characters, but only if you're not using network transients. If you use
 these, '_site' is prefixed to the name, meaning that the maximum length is
 now 40.

 If we're going to limit and report on name length, would it make more
 sense to just make it a uniform 40 rather than have different limits for
 different transient types?

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15058#comment:11>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list