Make WordPress Core

Opened 8 weeks 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: trunk
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 8 weeks ago.
Patch for the ticket.
screenshot.png (15.6 KB) - added by saqibameen 8 weeks ago.
Screenshot of files difference

Download all attachments as: .zip

Change History (2)

8 weeks ago

Patch for the ticket.

8 weeks ago

Screenshot of files difference

Note: See TracTickets for help on using tickets.