WordPress.org

Make WordPress Core


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

    r40564 r42343  
    4747
    4848        $expected = admin_url();
    49         $result = get_dashboard_url( self::$user_id );
     49        $result   = get_dashboard_url( self::$user_id );
    5050
    5151        revoke_super_admin( self::$user_id );
     
    6464
    6565        $expected = get_admin_url( $site_id );
    66         $result = get_dashboard_url( self::$user_id );
     66        $result   = get_dashboard_url( self::$user_id );
    6767
    6868        remove_user_from_blog( self::$user_id, $site_id );
    69         add_user_to_blog( get_current_blog_id(), self::$user_id, 'administrator');
     69        add_user_to_blog( get_current_blog_id(), self::$user_id, 'administrator' );
    7070
    7171        wpmu_delete_blog( $site_id, true );
Note: See TracChangeset for help on using the changeset viewer.