WordPress.org

Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #20138


Ignore:
Timestamp:
02/29/12 05:08:03 (2 years ago)
Author:
nacin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #20138 – Description

    initial v1  
    99 2. Introduce a new way to get a theme name. 
    1010 
    11 Point 2 is interesting. I think it could be solved with a fancy __toString() method on WP_Theme, which means that `echo wp_get_theme()` could actually echo `wp_get_theme()->display('Name')`. Or, another function. 
     11Point 2 is interesting. I think it could be solved with a fancy `__toString()` method on WP_Theme, which means that `echo wp_get_theme()` could actually echo `wp_get_theme()->display('Name')`. Or, another function. 
    1212 
    1313Both points leave a conundrum, though — whether style.css reads (a single style.css read, not every theme) are not the end of the world on the frontend.