[wp-trac] [WordPress Trac] #43644: Revert multiline calls to actions and filters

WordPress Trac noreply at wordpress.org
Tue Mar 27 19:23:12 UTC 2018


#43644: Revert multiline calls to actions and filters
-------------------------------------+-------------------------------------
 Reporter:  johnbillion              |       Owner:  johnbillion
     Type:  task (blessed)           |      Status:  accepted
 Priority:  normal                   |   Milestone:  5.0
Component:  General                  |     Version:  trunk
 Severity:  normal                   |  Resolution:
 Keywords:  needs-patch 2nd-opinion  |     Focuses:  docs, coding-standards
-------------------------------------+-------------------------------------

Comment (by azaozz):

 > ...most of these kind of function call layout changes come from the WP
 Core rule that multi-item associative arrays should be multi-line and the
 fixers kicking in to change the code from single line to multi-line
 arrays.

 Ah, I see. So it was mostly accidental that these arrays changed. That
 would explain it :)

--
Ticket URL: <https://core.trac.wordpress.org/ticket/43644#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list