Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (8 years ago)
Author:
pento
Message:

Code is Poetry.
WordPress' code just... wasn't.
This is now dealt with.

Props jrf, pento, netweb, GaryJ, jdgrimes, westonruter, Greg Sherwood from PHPCS, and everyone who's ever contributed to WPCS and PHPCS.
Fixes #41057.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/tests/comment/getCommentAuthorUrl.php

    r41127 r42343  
    1515     */
    1616    public function test_comment_author_url_passes_correct_comment_id() {
    17         $comment = self::factory()->comment->create_and_get( array(
    18             'comment_post_ID' => 0,
    19         ) );
     17        $comment = self::factory()->comment->create_and_get(
     18            array(
     19                'comment_post_ID' => 0,
     20            )
     21        );
    2022
    2123        add_filter( 'get_comment_author_url', array( $this, 'get_comment_author_url_filter' ), 99, 3 );
Note: See TracChangeset for help on using the changeset viewer.