Changeset 20039
- Timestamp:
- 02/29/2012 07:27:54 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-content/themes/twentyeleven/inc/theme-options.php
r19580 r20039 315 315 <div class="wrap"> 316 316 <?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> 318 318 <?php settings_errors(); ?> 319 319 -
trunk/wp-includes/class-wp-theme.php
r20029 r20039 237 237 $this->cache_add( 'theme', $cache ); 238 238 } 239 } 240 241 /** 242 * When converting the object to a string, the theme name is returned. 243 * 244 * @return string Theme name, ready for display (translated) 245 */ 246 function __toString() { 247 return (string) $this->display('Name'); 239 248 } 240 249
Note: See TracChangeset
for help on using the changeset viewer.