From 7097e7748eefdb78249c8acbe5c32a5d3b8857da Mon Sep 17 00:00:00 2001 From: Gary Pendergast Date: Wed, 8 Jun 2016 03:04:27 +0000 Subject: [PATCH] Tests: Disable `foreign_key_checks` while dropping existing tables. To ensure a clean run, the test suite drops all tables before installing, by simply looping over the table list and dropping them if they exist. This works well for Core, but may fail when a plugin has created a table with foreign key constraints in a previous test run. Many plugins choose to base their test suite on the Core setup, so making life easier for them is a plus, even if Core doesn't directly need this change. Props javorszky. Fixes #37046. Built from https://develop.svn.wordpress.org/trunk@37654 git-svn-id: http://core.svn.wordpress.org/trunk@37620 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 813890450b..dc1314c814 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.6-alpha-37653'; +$wp_version = '4.6-alpha-37654'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.