Changeset 20039 for trunk/wp-includes/class-wp-theme.php
- Timestamp:
- 02/29/2012 07:27:54 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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.