[wp-trac] [WordPress Trac] #28509: Allow themes specifically meant to be parent themes to prevent activation

WordPress Trac noreply at wordpress.org
Thu Jun 12 18:09:52 UTC 2014


#28509: Allow themes specifically meant to be parent themes to prevent activation
-------------------------+------------------------------
 Reporter:  nathanrice   |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Themes       |     Version:  3.9.1
 Severity:  normal       |  Resolution:
 Keywords:               |     Focuses:
-------------------------+------------------------------

Comment (by nathanrice):

 Replying to [comment:15 Otto42]:
 > Expanding the definition of "theme" to allow things that are not
 actually themes to live there too is probably not the right answer.

 It's not that they're not themes, it's that they aren't meant to be used
 without a child theme ... '''they're meant to be extended'''. Do we not
 call a PHP class a "class" just because we intend it to be extended? No,
 we use the "abstract" keyword to prevent it from being used without being
 extended. That's all I'm suggesting here.

 But I see I'm swimming upstream here. I don't want to force the issue, I
 just wanted to give some input based on the perspective of someone who
 does build themes with this relationship. Very successfully.

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


More information about the wp-trac mailing list