From 5a4f7349e8c24b16e851ce28dfad328d4a707564 Mon Sep 17 00:00:00 2001 From: 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: http://svn.automattic.com/wordpress/trunk@20042 1a063a9b-81f0-0310-95a4-ce76da25c4cd --- 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 d88d1f5d6..490ec50d3 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;