[wp-trac] [WordPress Trac] #35565: Functions ending brace should be on a newline.

WordPress Trac noreply at wordpress.org
Thu Jan 21 19:21:10 UTC 2016


#35565: Functions ending brace should be on a newline.
-----------------------------+-----------------------------
 Reporter:  georgestephanis  |      Owner:
     Type:  defect (bug)     |     Status:  new
 Priority:  low              |  Milestone:  Awaiting Review
Component:  General          |    Version:  trunk
 Severity:  minor            |   Keywords:  has-patch
  Focuses:                   |
-----------------------------+-----------------------------
 The `_wp_handle_upload()` function for a while now has had its ending
 brace on the same line as its return statement.  This makes the code
 really hard to skim and is kinda ugly.

 I'd like to see us rectify that and move it to its rightful place, as
 emperor of its own sovereign line of succession.

 Patch attached.

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


More information about the wp-trac mailing list