[wp-trac] [WordPress Trac] #43907: JS WordPress Coding Standards — Add Space In The Method Call

WordPress Trac noreply at wordpress.org
Mon Apr 30 15:00:42 UTC 2018


#43907: JS WordPress Coding Standards — Add Space In The Method Call
-------------------------+-------------------------------------------------
 Reporter:  saqibameen   |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  Comments     |    Version:  trunk
 Severity:  normal       |   Keywords:  needs-testing has-patch has-
  Focuses:  coding-      |  screenshots
  standards              |
-------------------------+-------------------------------------------------
 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
 {{{
 wp-includes/js/comment-reply.js
 }}}
 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.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43907>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list