From c1fc5e79c8c7552b54b7d3fb595bf4e80b95065f Mon Sep 17 00:00:00 2001 From: Drew Jaynes Date: Sat, 3 Oct 2015 20:55:24 +0000 Subject: [PATCH] Tests: Permalink Structures Phase II: DRY up logic for setting permalink structures in test methods. Renames `reset_permalinks()` to `set_permalink_structure()` (mimicking `$wp_rewrite->set_permalink_structure()`) and allows it to accept an optional permalink structure. In this way, we can double dip using it to both set and reset the permalink structure from anywhere. Removes alot of duplicated code from tests. See #33968. Built from https://develop.svn.wordpress.org/trunk@34810 git-svn-id: http://core.svn.wordpress.org/trunk@34775 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 ee45fb830a..41cef6cbfa 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4-alpha-34809'; +$wp_version = '4.4-alpha-34810'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.