[wp-trac] [WordPress Trac] #15058: Validate option and transient name lengths
WordPress Trac
noreply at wordpress.org
Thu Jan 7 18:55:11 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 jdgrimes):
Replying to [comment:50 khromov]:
> You're right @MikeHansenMe - yoda conditions are hard. :)
@MikeHansenMe, I think we should flip these conditions. Since it isn't an
`==` or `===` condition there is no reason for it to be a "yoda"
condition. Flipping it around and using `>` instead of `<` will make it
much more obvious what is going on.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/15058#comment:51>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list