From f4b7756402e02350a09f1d28ac8874c66609527e Mon Sep 17 00:00:00 2001 From: Andrew Nacin Date: Wed, 29 Feb 2012 20:22:16 +0000 Subject: [PATCH] Can haz recursion? get_current_theme() is deprecated in favor of wp_get_theme(), not itself. props duck_. see #20138. git-svn-id: https://develop.svn.wordpress.org/trunk@20042 602fd350-edb4-49c9-b593-d223f7449a82 --- wp-includes/deprecated.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wp-includes/deprecated.php b/wp-includes/deprecated.php index d88d1f5d60..490ec50d3a 100644 --- a/wp-includes/deprecated.php +++ b/wp-includes/deprecated.php @@ -2970,7 +2970,7 @@ function get_theme( $theme ) { * @return string */ function get_current_theme() { - _deprecated_function( __FUNCTION__, '3.4', 'get_current_theme()' ); + _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' ); if ( $theme = get_option( 'current_theme' ) ) return $theme;