Restore the test code for get_theme(), add the notice suppression filters, and fix the type in the remove_filter() call.

See #25282.



git-svn-id: https://develop.svn.wordpress.org/trunk@25362 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Scott Taylor
2013-09-11 21:32:14 +00:00
parent 9f00115bd9
commit e7c543f997
2 changed files with 24 additions and 1 deletions

View File

@@ -25,7 +25,7 @@ class Tests_Theme extends WP_UnitTestCase {
}
function filter_deprecated_function_trigger_error() {
remove_filter( 'filter_deprecated_function_trigger_error', array( $this, 'filter_deprecated_function_trigger_error' ) );
remove_filter( 'deprecated_function_trigger_error', array( $this, 'filter_deprecated_function_trigger_error' ) );
return false;
}