From 55e32049e3f98f0049a13e164d9e0f72ca9d3176 Mon Sep 17 00:00:00 2001 From: Boone Gorges Date: Thu, 5 Mar 2015 13:15:25 +0000 Subject: [PATCH] In PHPUnit test classes, `parent::tearDown()` should be the last thing done in `tearDown()` methods. `WP_UnitTestCase::tearDown()` restores the test environment to the default conditions, including rolling back the MySQL transaction that the test takes place in, resetting globals, and unhooking test-specific filters. As such, all teardown routines for specific tests should happen before the parent class's `tearDown()` method is called. Failure to do so can cause database locks on certain configurations, among other problems. See #31537. Built from https://develop.svn.wordpress.org/trunk@31622 git-svn-id: http://core.svn.wordpress.org/trunk@31603 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- wp-includes/version.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/version.php b/wp-includes/version.php index cdb5a5801f..0ce8df2ecb 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.2-alpha-31621'; +$wp_version = '4.2-alpha-31622'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.