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:
parent
0dc52c8043
commit
5a4f7349e8
|
@ -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