[wp-trac] [WordPress Trac] #28137: Add constant to disable loading of functions.php

WordPress Trac noreply at wordpress.org
Wed Oct 29 18:38:40 UTC 2014


#28137: Add constant to disable loading of functions.php
-------------------------+--------------------------
 Reporter:  nickciske    |       Owner:
     Type:  enhancement  |      Status:  closed
 Priority:  normal       |   Milestone:
Component:  General      |     Version:  3.9
 Severity:  normal       |  Resolution:  wontfix
 Keywords:               |     Focuses:  performance
-------------------------+--------------------------
Changes (by westi):

 * status:  new => closed
 * resolution:   => wontfix
 * milestone:  Awaiting Review =>


Comment:

 I've read through the thread and I don't see a good justification for this
 either.

 The {{{WP_USE_THEMES}}} constant is designed to stop the theme being
 rendered and not designed to stop the theme configuration to be loaded.
 Not loading functions.php could lead to the sites key configuration (CPTs,
 Taxonomies etc) not being loaded.

 Closing.

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


More information about the wp-trac mailing list