[wp-trac] [WordPress Trac] #43379: Allow themes to know if they are the parent or child theme

WordPress Trac noreply at wordpress.org
Sun Feb 25 15:52:13 UTC 2018


#43379: Allow themes to know if they are the parent or child theme
-----------------------------+------------------------------
 Reporter:  denvercoder9     |       Owner:
     Type:  feature request  |      Status:  closed
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Themes           |     Version:
 Severity:  normal           |  Resolution:  wontfix
 Keywords:  close            |     Focuses:
-----------------------------+------------------------------
Changes (by denvercoder9):

 * keywords:   => close
 * status:  new => closed
 * resolution:   => wontfix


Comment:

 As I've thought it over it probably doesn't make sense to do this. It
 could introduce a lot of code smell and hard to debug behavior. For
 example if you are calling parent theme methods from the child.

 It's probably best to keep this type of functionality during bootstrap
 which can easily be accomplished via functions.php

 I think it's safe to delete this as I don't think the original request
 makes sense.

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


More information about the wp-trac mailing list