Make WordPress Core

Changeset 44238


Ignore:
Timestamp:
12/16/2018 09:18:38 PM (6 years ago)
Author:
SergeyBiryukov
Message:

PHPCS: Fix errors introduced in [44236].

See #45221.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-includes/script-loader.php

    r44237 r44238  
    531531
    532532    $tinymce_settings = array(
    533         'plugins'  => implode( ',', $tinymce_plugins ),
    534         'toolbar1' => implode( ',', $toolbar1 ),
    535         'toolbar2' => implode( ',', $toolbar2 ),
    536         'toolbar3' => implode( ',', $toolbar3 ),
    537         'toolbar4' => implode( ',', $toolbar4 ),
    538         'external_plugins' => wp_json_encode( $external_plugins ),
     533        'plugins'              => implode( ',', $tinymce_plugins ),
     534        'toolbar1'             => implode( ',', $toolbar1 ),
     535        'toolbar2'             => implode( ',', $toolbar2 ),
     536        'toolbar3'             => implode( ',', $toolbar3 ),
     537        'toolbar4'             => implode( ',', $toolbar4 ),
     538        'external_plugins'     => wp_json_encode( $external_plugins ),
    539539        'classic_block_editor' => true,
    540540    );
     
    548548    foreach ( $tinymce_settings as $key => $value ) {
    549549        if ( is_bool( $value ) ) {
    550             $val = $value ? 'true' : 'false';
     550            $val       = $value ? 'true' : 'false';
    551551            $init_obj .= $key . ':' . $val . ',';
    552552            continue;
Note: See TracChangeset for help on using the changeset viewer.