From df3eaf73cb407135c0612809e123d3e5d0a9e84b Mon Sep 17 00:00:00 2001 From: Sergey Biryukov Date: Wed, 2 Apr 2014 23:46:34 +0000 Subject: [PATCH] Fix copy/paste error in [27710]. props kovshenin. fixes #21969. git-svn-id: https://develop.svn.wordpress.org/trunk@27915 602fd350-edb4-49c9-b593-d223f7449a82 --- tests/phpunit/tests/theme/WPTheme.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/phpunit/tests/theme/WPTheme.php b/tests/phpunit/tests/theme/WPTheme.php index 16e093a952..e64aa2e7cf 100644 --- a/tests/phpunit/tests/theme/WPTheme.php +++ b/tests/phpunit/tests/theme/WPTheme.php @@ -122,7 +122,7 @@ class Tests_Theme_WPTheme extends WP_UnitTestCase { $this->assertEquals( get_theme_root_uri() . '/subdir/theme%20with%20spaces', get_template_directory_uri() ); remove_filter( 'stylesheet', $callback ); - add_filter( 'template', $callback ); + remove_filter( 'template', $callback ); } function filter_theme_with_spaces() {