Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/customize/class-wp-widget-form-customize-control.php

    r41162 r42343  
    5050
    5151        $args = array(
    52             'widget_id' => $widget['id'],
     52            'widget_id'   => $widget['id'],
    5353            'widget_name' => $widget['name'],
    5454        );
    5555
    56         $args = wp_list_widget_controls_dynamic_sidebar( array( 0 => $args, 1 => $widget['params'][0] ) );
     56        $args                 = wp_list_widget_controls_dynamic_sidebar(
     57            array(
     58                0 => $args,
     59                1 => $widget['params'][0],
     60            )
     61        );
    5762        $widget_control_parts = $this->manager->widgets->get_widget_control_parts( $args );
    5863
Note: See TracChangeset for help on using the changeset viewer.