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

WordPress Trac noreply at wordpress.org
Fri Oct 31 19:18:27 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 MikeHansenMe):

 Replying to [comment:37 khromov]:

 > My position has been either using VARCHAR(256) or providing a filter (so
 people can use whatever prefixing scheme they want.)

 On this changing the scheme is an option. I actually added a filter to my
 patch until I realised that if one person changed the format another
 plugin would lost all of its (long)entries. This would be perceived as WPs
 fault. I think it is best not to add a filter here.

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


More information about the wp-trac mailing list