[wp-trac] [WordPress Trac] #23118: Remove spaces between parentheses in function calls without arguments

WordPress Trac noreply at wordpress.org
Fri Jan 4 09:24:57 UTC 2013


#23118: Remove spaces between parentheses in function calls without arguments
-----------------------------+--------------------------
 Reporter:  evansolomon      |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  General
  Version:                   |   Severity:  trivial
 Keywords:                   |
-----------------------------+--------------------------
 I noticed there were a few spots with weird spaces in function calls.  So
 it would like like `foo( )` instead of `foo()`.  It looks weird, so let's
 kill them off.

 Here's what I ran to fix them: `ack "\( \)" --ignore-dir=wp-content -l |
 xargs perl -pi -E 's/\( \)/\(\)/g'`

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/23118>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list