Make WordPress Core

Opened 19 months ago

Last modified 19 months 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:


Attachments (3)

post.diff (400 bytes) - added by mehidi258 19 months ago.
post.2.diff (461 bytes) - added by mehidi258 19 months ago.
48270.diff (992 bytes) - added by itowhid06 19 months ago.

Download all attachments as: .zip

Change History (6)

19 months ago

#1 @itowhid06
19 months ago

Hello @mehidi258, welcome to WordPress Trac!

Are you referring to wp-admin/js/post.js? I believe that one is compiled!

19 months ago

#2 @SergeyBiryukov
19 months ago

  • Component changed from General to Administration
  • Focuses coding-standards added

#3 @itowhid06
19 months 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
Yet I am inclined to upload to cleaner patch if this seems to be qualified to patch :)

19 months ago

Note: See TracTickets for help on using tickets.