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
This commit is contained in:
parent
cdaee9042d
commit
f4b7756402
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user