[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
Wed Sep 10 22:53:09 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 lancewillett):

 Counterpoint: without this suggested change, `is_child_theme()` isn't
 accurate. And misleading.

 What are the performance concerns if `WP_Theme` is properly cached?

 Can we instead add a method that is accurate to `WP_Theme`, then?

--
Ticket URL: <https://core.trac.wordpress.org/ticket/29618#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list