[wp-trac] [WordPress Trac] #40467: Hardcoding Template and Stylesheet paths inside the wp-config.php leads to "constant already defined in default-constants.php"

WordPress Trac noreply at wordpress.org
Sun Apr 23 13:46:24 UTC 2017


#40467: Hardcoding Template and Stylesheet paths inside the wp-config.php leads to
"constant already defined in default-constants.php"
-----------------------------------------+---------------------------------
 Reporter:  rkoller                      |       Owner:
     Type:  defect (bug)                 |      Status:  new
 Priority:  normal                       |   Milestone:  Awaiting Review
Component:  Themes                       |     Version:
 Severity:  normal                       |  Resolution:
 Keywords:  has-patch reporter-feedback  |     Focuses:  template,
                                         |  performance
-----------------------------------------+---------------------------------
Changes (by ocean90):

 * keywords:  has-patch => has-patch reporter-feedback
 * version:  4.7.3 =>


Comment:

 What's the use case for defining the `TEMPLATEPATH` and `STYLESHEETPATH`
 constants which are both kinda deprecated (#18298, #20027)?

 I see you added the `performance` keyword, have you done any before/after
 tests? What are the results?

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


More information about the wp-trac mailing list