Make WordPress Core

Opened 16 months ago

Last modified 7 months ago

#43907 new enhancement

JS WordPress Coding Standards — Add Space In The Method Call

Reported by: saqibameen Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Comments Keywords: needs-testing has-patch has-screenshots
Focuses: coding-standards Cc:


According to JS WordPress standards, there should be a space right after the opening bracket and closing bracket of the function call. However, in the


there's no space at function call on line 161.

I am not sure if there's any other reason for being so. But all other function calls seem to follow that standard. Don't know if I am missing something? Would love to know thoughts on it.

Also, I have added the patch.

Attachments (2)

patch.diff (950 bytes) - added by saqibameen 16 months ago.
Patch for the ticket.
screenshot.png (15.6 KB) - added by saqibameen 16 months ago.
Screenshot of files difference

Download all attachments as: .zip

Change History (3)

16 months ago

Patch for the ticket.

16 months ago

Screenshot of files difference

#1 @pento
7 months ago

  • Version trunk deleted
Note: See TracTickets for help on using tickets.