#60415 closed defect (bug) (fixed)
Coding Standards: Need to improve below two files comparison operator conditions.
Reported by: | upadalavipul | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 6.5 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | |
Focuses: | coding-standards | Cc: |
Description
I have reviewed the code and found the two files in condition check only != operator. but as per the coding standard needs to be checked !== operator. Please check below to provide two file codes.
Files:
- wp-admin/plugin-editor.php
- wp-admin/theme-editor.php
Attachments (11)
Change History (15)
#3
@
8 months ago
- Owner set to SergeyBiryukov
- Resolution set to fixed
- Status changed from new to closed
In 57529:
@
8 months ago
I have checked above mentioned issue and founds few more files. I have applied its patch.
#4
@
8 months ago
Thanks for the patches! It looks like these are all external libraries though, they don't have to follow the WordPress coding standards, and should not be changed directly in core.
Note: See
TracTickets for help on using
tickets.
added patch