Make WordPress Core


Ignore:
Timestamp:
02/29/2012 07:27:54 PM (12 years ago)
Author:
nacin
Message:

(string) WP_Theme is now the theme name, translated. Good replacement for get_current_theme(); better than wp_get_theme()->display('Name'). see #20103, see #20138.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-content/themes/twentyeleven/inc/theme-options.php

    r19580 r20039  
    315315    <div class="wrap">
    316316        <?php screen_icon(); ?>
    317         <h2><?php printf( __( '%s Theme Options', 'twentyeleven' ), get_current_theme() ); ?></h2>
     317        <h2><?php printf( __( '%s Theme Options', 'twentyeleven' ), wp_get_theme() ); ?></h2>
    318318        <?php settings_errors(); ?>
    319319
Note: See TracChangeset for help on using the changeset viewer.