Opened 5 years ago
Last modified 5 years ago
#48270 new enhancement
Add space before first parentheses of if condition for JS consistency
Reported by: | mehidi258 | Owned by: | |
---|---|---|---|
Milestone: | Awaiting Review | Priority: | normal |
Severity: | minor | Version: | 5.3 |
Component: | Administration | Keywords: | has-patch |
Focuses: | javascript, coding-standards | Cc: |
Description
Attachments (3)
Change History (6)
#3
@
5 years ago
As far as I'm concerned, These JS files are excluded from Linting. Also there is specific mentions of not refactoring these files in here
https://make.wordpress.org/core/handbook/best-practices/coding-standards/javascript/#code-refactoring
Yet I am inclined to upload to cleaner patch if this seems to be qualified to patch :)
Note: See
TracTickets for help on using
tickets.
Hello @mehidi258, welcome to WordPress Trac!
Are you referring to
wp-admin/js/post.js
? I believe that one is compiled!