Make WordPress Core


Ignore:
Timestamp:
03/29/2023 07:11:26 AM (3 years ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Apply various alignment corrections from composer format.

This fixes a few WPCS warnings along the lines of:

  • Array double arrow not aligned correctly
  • Equals sign not aligned with surrounding statements
  • Usage of ELSE IF is discouraged; use ELSEIF instead

Follow-up to [55099], [55192], [55194], [55271].

Props davidbaumwald, jrf, SergeyBiryukov.
Fixes #57994.

File:
1 edited

Legend:

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

    r55491 r55606  
    11091109    $scripts->add( 'wp-mediaelement', "/wp-includes/js/mediaelement/wp-mediaelement$suffix.js", array( 'mediaelement' ), false, 1 );
    11101110    $mejs_settings = array(
    1111         'pluginPath'  => includes_url( 'js/mediaelement/', 'relative' ),
    1112         'classPrefix' => 'mejs-',
    1113         'stretching'  => 'responsive',
     1111        'pluginPath'            => includes_url( 'js/mediaelement/', 'relative' ),
     1112        'classPrefix'           => 'mejs-',
     1113        'stretching'            => 'responsive',
    11141114        /** This filter is documented in wp-includes/media.php */
    11151115        'audioShortcodeLibrary' => apply_filters( 'wp_audio_shortcode_library', 'mediaelement' ),
Note: See TracChangeset for help on using the changeset viewer.