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

WordPress Trac noreply at wordpress.org
Thu Jan 7 17:30:10 UTC 2016


#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):

 [attachment: 15058.3.diff] triggers _doing_it_wrong when the name is too
 long for options and transients. The message for each may still need some
 work but since this will only show when WP_DEBUG is true and it will
 continue to behave the same, I think this is an improvement.

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


More information about the wp-trac mailing list