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

WordPress Trac noreply at wordpress.org
Sun Sep 27 18:01:24 UTC 2015


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

 @octalmage

 I'm split on whether a warning (ie. triggering _doing_it_wrong()) would be
 useful or not.

 For end users, this warning would not be very useful. In my experience,
 plugins that set really long option/transient names usually involve some
 sort of dynamic component, so it may not show itself very easily.

 On the other hand, it would make it much easier for end users to complain
 to the plugin author, making him aware of the issues.

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


More information about the wp-trac mailing list