WordPress.org

Make WordPress Core

Changeset 20042


Ignore:
Timestamp:
02/29/2012 08:22:16 PM (9 years ago)
Author:
nacin
Message:

Can haz recursion? get_current_theme() is deprecated in favor of wp_get_theme(), not itself. props duck_. see #20138.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/deprecated.php

    r20040 r20042  
    29712971 */
    29722972function get_current_theme() {
    2973     _deprecated_function( __FUNCTION__, '3.4', 'get_current_theme()' );
     2973    _deprecated_function( __FUNCTION__, '3.4', 'wp_get_theme()' );
    29742974
    29752975    if ( $theme = get_option( 'current_theme' ) )
Note: See TracChangeset for help on using the changeset viewer.