Make WordPress Core


Ignore:
Timestamp:
09/26/2023 12:07:56 AM (14 months ago)
Author:
SergeyBiryukov
Message:

Coding Standards: Fix a few newly introduced WPCS issues.

Follow-up to [56683], [56689].

See #59161, #58831.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/blocks/getBlockAssetUrl.php

    r56683 r56692  
    6464
    6565        $this->assertSame( get_template_directory_uri() . '/blocks/example-block/view.js', $url );
    66 
    6766    }
    6867
     
    7776
    7877        $this->assertSame( get_stylesheet_directory_uri() . '/blocks/example-block/view.js', $url );
    79 
    8078    }
    8179
     
    9088        $this->assertSame( plugins_url( 'view.js', $path ), $url, 'The return block asset url should match plugin url.' );
    9189        $this->assertStringStartsWith( WP_PLUGIN_URL, $url, 'The return block asset url should contain the url that support with the mu plugin url.' );
    92 
    9390    }
    9491
     
    113110        $this->assertFalse( $url );
    114111    }
    115 
    116112}
Note: See TracChangeset for help on using the changeset viewer.