[wp-trac] [WordPress Trac] #29618: Improve `is_child_theme` to check for a valid Template value in child stylesheet comment header
WordPress Trac
noreply at wordpress.org
Fri Sep 12 05:25:30 UTC 2014
#29618: Improve `is_child_theme` to check for a valid Template value in child
stylesheet comment header
--------------------------+------------------------------
Reporter: lancewillett | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version:
Severity: normal | Resolution:
Keywords: has-patch | Focuses:
--------------------------+------------------------------
Comment (by nacin):
Replying to [comment:2 lancewillett]:
> What are the performance concerns if `WP_Theme` is properly cached?
None.
> Can we instead add a method that is accurate to `WP_Theme`, then?
Yep, that's what parent() does.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/29618#comment:3>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list