Make WordPress Core

Changeset 44951


Ignore:
Timestamp:
03/20/2019 10:05:58 PM (6 years ago)
Author:
adamsilverstein
Message:

Build: correct some linting errors.

Fix linting failures after r44948 by running composer run format.

Location:
trunk
Files:
2 edited

Legend:

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

    r44947 r44951  
    35793579    // Filter to show only available mime types.
    35803580    $avail_post_mime_types = get_available_post_mime_types( 'attachment' );
    3581     $mimeTypes = wp_list_pluck( get_post_mime_types(), 0 );
     3581    $mimeTypes             = wp_list_pluck( get_post_mime_types(), 0 );
    35823582    foreach ( $mimeTypes as $mime_type => $label ) {
    35833583        if ( ! wp_match_mime_types( $mime_type, $avail_post_mime_types ) ) {
  • trunk/tests/phpunit/tests/feed/rss2.php

    r44948 r44951  
    400400        $this->assertTrue( have_posts() );
    401401
    402 
    403402        // Check to see if we have the expected XML output from the feed template.
    404403        $feed = $this->do_rss2();
Note: See TracChangeset for help on using the changeset viewer.