#35565 closed enhancement (fixed)
Functions ending brace should be on a newline.
Reported by: | georgestephanis | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.5 | Priority: | low |
Severity: | minor | Version: | 4.0 |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Description
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.
Attachments (1)
Change History (6)
Note: See
TracTickets for help on using
tickets.
Although we don't usually refactor just because, this seems far off enough from our coding standards to warrant fixing.