[wp-trac] [WordPress Trac] #47965: Missing strict comparison check in REST Autosaves Controller

WordPress Trac noreply at wordpress.org
Tue Feb 25 19:33:35 UTC 2020


#47965: Missing strict comparison check in REST Autosaves Controller
-------------------------------------------+-----------------------------
 Reporter:  dkarfa                         |       Owner:  SergeyBiryukov
     Type:  defect (bug)                   |      Status:  closed
 Priority:  normal                         |   Milestone:  5.4
Component:  REST API                       |     Version:
 Severity:  normal                         |  Resolution:  fixed
 Keywords:  has-patch dev-feedback commit  |     Focuses:  rest-api
-------------------------------------------+-----------------------------
Changes (by SergeyBiryukov):

 * status:  reviewing => closed
 * resolution:   => fixed


Comment:

 In [changeset:"47372" 47372]:
 {{{
 #!CommitTicketReference repository="" revision="47372"
 Coding Standards: Use strict comparison for `normalize_whitespace()`
 checks when comparing revisions or autosaves.

 Props dkarfa, itowhid06, TimothyBlynJacobs.
 Fixes #47965.
 }}}

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


More information about the wp-trac mailing list