Make WordPress Core


Ignore:
Timestamp:
11/30/2017 11:09:33 PM (7 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/oembed/postEmbedUrl.php

    r36307 r42343  
    7171
    7272        add_filter( 'wp_unique_post_slug', array( $this, 'filter_unique_post_slug' ) );
    73         $child_page = self::factory()->post->create( array(
    74             'post_type'   => 'page',
    75             'post_parent' => $parent_page,
    76             'post_name'   => 'embed',
    77         ) );
     73        $child_page = self::factory()->post->create(
     74            array(
     75                'post_type'   => 'page',
     76                'post_parent' => $parent_page,
     77                'post_name'   => 'embed',
     78            )
     79        );
    7880        remove_filter( 'wp_unique_post_slug', array( $this, 'filter_unique_post_slug' ) );
    7981
Note: See TracChangeset for help on using the changeset viewer.