Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
10/05/2018 06:03:54 PM (6 years ago)
Author:
boonebgorges
Message:

Tests: More site-creation deprecation fine-tuning.

See #7984.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/testcases/core/functions.php

    r12245 r12247  
    701701
    702702        if ( is_multisite() ) {
    703             $this->setExpectedDeprecated( 'wpmu_new_blog' );
     703            if ( function_exists( 'wp_initialize_site' ) ) {
     704                $this->setExpectedDeprecated( 'wpmu_new_blog' );
     705            }
     706
    704707            $b = self::factory()->blog->create();
    705708            switch_to_blog( $b );
Note: See TracChangeset for help on using the changeset viewer.