Make WordPress Core

Changeset 44806


Ignore:
Timestamp:
03/07/2019 03:45:26 AM (6 years ago)
Author:
jeremyfelt
Message:

Multisite: Fix code formatting errors from r44805

See #46351.

Location:
trunk
Files:
2 edited

Legend:

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

    r44805 r44806  
    108108        // The `$site_data_whitelist` matches the one used in `wpmu_create_blog()`.
    109109        $site_data_whitelist = array( 'public', 'archived', 'mature', 'spam', 'deleted', 'lang_id' );
    110         $meta = array_merge( array_intersect_key( $data, array_flip( $site_data_whitelist ) ), $meta );
     110        $meta                = array_merge( array_intersect_key( $data, array_flip( $site_data_whitelist ) ), $meta );
    111111
    112112        /**
  • trunk/tests/phpunit/tests/multisite/site.php

    r44805 r44806  
    23802380            return array(
    23812381                'default values'  => array(
    2382                     array(
    2383                     ),
     2382                    array(),
    23842383                    array(
    23852384                        'public' => 0, // `public` is one of the defaults metas in `wpmu_create_blog' function prior WordPress 5.1.0
     
    23932392                    array(
    23942393                        'public' => 1,
    2395                         'WPLANG' => 'en_US'
     2394                        'WPLANG' => 'en_US',
    23962395                    ),
    23972396                ),
Note: See TracChangeset for help on using the changeset viewer.