[wp-trac] [WordPress Trac] #15058: Validate option and transient name lengths
WordPress Trac
noreply at wordpress.org
Fri Jan 8 18:12:46 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.4.diff] uses mb_strlen instead of strlen to check char
length instead of bytes. MySQL5+ varchar limits are based on char not
bytes. Also added the number in the message per the discussion during bug
scrub.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15058#comment:53>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list