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
This commit is contained in:
nacin 2012-02-29 20:22:16 +00:00
parent 0dc52c8043
commit 5a4f7349e8
1 changed files with 1 additions and 1 deletions

View File

@ -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;