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

WordPress Trac noreply at wordpress.org
Mon May 5 16:20:54 UTC 2014


#28137: Add constant to disable loading of functions.php
-------------------------+-----------------------------
 Reporter:  nickciske    |      Owner:
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  performance  |
-------------------------+-----------------------------
 Setting '''WP_USE_THEMES = false''' does not stop loading of the theme
 functions.php file.

 Context:
 http://lists.automattic.com/pipermail/wp-hackers/2014-May/048364.html

 Suggestion:
 WP_DISABLE_THEME_FUNCTIONS being defined suppresses loading of
 functions.hp in wp-settings.php

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


More information about the wp-trac mailing list