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-customize-custom-css-setting.php

    r41376 r42343  
    128128        }
    129129        $id_base = $this->id_data['base'];
    130         $value = '';
    131         $post = wp_get_custom_css_post( $this->stylesheet );
     130        $value   = '';
     131        $post    = wp_get_custom_css_post( $this->stylesheet );
    132132        if ( $post ) {
    133133            $value = $post->post_content;
     
    181181        }
    182182
    183         $r = wp_update_custom_css_post( $css, array(
    184             'stylesheet' => $this->stylesheet,
    185         ) );
     183        $r = wp_update_custom_css_post(
     184            $css, array(
     185                'stylesheet' => $this->stylesheet,
     186            )
     187        );
    186188
    187189        if ( $r instanceof WP_Error ) {
Note: See TracChangeset for help on using the changeset viewer.