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

WordPress Trac noreply at wordpress.org
Wed Oct 29 01:29:29 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 jorbin):

 RE: unit tests - I think we should incorporate some Multi site unit tests
 as well.  We also need to add unit tests around updating and deleting
 transiants.

 RE: Code - I don't like that we are obscuring the _transient_ from the
 name.  It makes it harder to immediately identify that the option is in
 fact a transient.  I'd rather see us fix this in the transient code to
 prevent that.

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


More information about the wp-trac mailing list