[wp-trac] [WordPress Trac] #48270: Add space before first parentheses of if condition for JS consistency

WordPress Trac noreply at wordpress.org
Sat Oct 12 01:47:16 UTC 2019


#48270: Add space before first parentheses of if condition for JS consistency
----------------------------+-------------------------------------------
 Reporter:  mehidi258       |       Owner:  (none)
     Type:  enhancement     |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Administration  |     Version:  trunk
 Severity:  minor           |  Resolution:
 Keywords:  has-patch       |     Focuses:  javascript, coding-standards
----------------------------+-------------------------------------------

Comment (by itowhid06):

 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 :)

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


More information about the wp-trac mailing list