WordPress.org

Make WordPress Core


Ignore:
Timestamp:
07/02/2019 11:41:16 PM (17 months ago)
Author:
pento
Message:

Coding Standards: Fix the Squiz.PHP.DisallowMultipleAssignments violations in wp-includes.

See #47632.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/class.wp-scripts.php

    r44403 r45590  
    197197     */
    198198    public function print_extra_script( $handle, $echo = true ) {
    199         if ( ! $output = $this->get_data( $handle, 'data' ) ) {
     199        $output = $this->get_data( $handle, 'data' );
     200        if ( ! $output ) {
    200201            return;
    201202        }
     
    253254
    254255        $src         = $obj->src;
    255         $cond_before = $cond_after = '';
     256        $cond_before = '';
     257        $cond_after  = '';
    256258        $conditional = isset( $obj->extra['conditional'] ) ? $obj->extra['conditional'] : '';
    257259
Note: See TracChangeset for help on using the changeset viewer.