diff --git a/wp-includes/compat.php b/wp-includes/compat.php index ad49ba3a0b..407e1779db 100644 --- a/wp-includes/compat.php +++ b/wp-includes/compat.php @@ -471,7 +471,10 @@ if ( ! function_exists( 'array_replace_recursive' ) ) : unset( $bref_stack[ key( $bref_stack ) ] ); foreach ( array_keys( $head ) as $key ) { - if ( isset( $key, $bref ) && is_array( $bref[ $key ] ) && is_array( $head[ $key ] ) ) { + if ( isset( $key, $bref ) && + isset( $bref[ $key ] ) && is_array( $bref[ $key ] ) && + isset( $head[ $key ] ) && is_array( $head[ $key ] ) + ) { $bref_stack[] = &$bref[ $key ]; $head_stack[] = $head[ $key ]; } else { diff --git a/wp-includes/version.php b/wp-includes/version.php index b2deacf692..fe9f2ce41e 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37749'; +$wp_version = '4.6-alpha-37750'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.