[wp-trac] [WordPress Trac] #43177: REST API allows empty comments containing only whitespace
WordPress Trac
noreply at wordpress.org
Wed Feb 7 00:35:31 UTC 2018
#43177: REST API allows empty comments containing only whitespace
--------------------------+------------------------------
Reporter: jaswrks | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: REST API | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses: rest-api
--------------------------+------------------------------
Comment (by rmccue):
I'd prefer `'' === trim( $x )` over `! trim( $x )` just to be explicit,
but I think it looks good otherwise.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43177#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list