[wp-trac] [WordPress Trac] #30819: Getting info on default theme(s)
WordPress Trac
noreply at wordpress.org
Mon Dec 29 13:47:57 UTC 2014
#30819: Getting info on default theme(s)
-------------------------+------------------------------
Reporter: donutz | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: trunk
Severity: normal | Resolution:
Keywords: | Focuses:
-------------------------+------------------------------
Comment (by obenland):
I'm fairly hesitant to make that public, tbh. It's really not something
theme or plugin authors can't work around, and I'd rather avoid creating
confusion with the concept of a default theme for a site.
`get_default_theme()` could very well return a WP_Theme object of the
default theme for a site (like I fist thought you were referring to). It's
also not necessarily relevant information about the theme that's
instantiated.
I honestly think we'd make it harder to use the API, not easier.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/30819#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list