Skip to:
Content

BuddyPress.org


Ignore:
Timestamp:
05/07/2014 12:27:42 PM (12 years ago)
Author:
boonebgorges
Message:

Only run 3.9-safe multisite go_to() testcase method on 3.9+

Previous version_compare() did a comparison against 3.8.2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/tests/phpunit/includes/testcase.php

    r8114 r8394  
    113113            $path = stripslashes( $_SERVER['REQUEST_URI'] );
    114114
    115             if ( version_compare( $GLOBALS['wp_version'], '3.8.2', '>' ) ) {
     115            if ( version_compare( $GLOBALS['wp_version'], '3.9', '>=' ) ) {
    116116
    117117                if ( is_admin() ) {
Note: See TracChangeset for help on using the changeset viewer.