Make WordPress Core


Ignore:
Timestamp:
04/08/2023 09:19:29 AM (23 months 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.
Merges [55606] to the 6.2 branch.
Fixes #57994.

Location:
branches/6.2
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/6.2

  • branches/6.2/src/wp-includes/script-loader.php

    r55491 r55636  
    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.