[wp-trac] [WordPress Trac] #48099: get_stylesheet_directory() and get_stylesheet_directory() are front-slashed even in Windows environment

WordPress Trac noreply at wordpress.org
Sat Sep 21 15:39:38 UTC 2019


#48099: get_stylesheet_directory() and get_stylesheet_directory() are front-slashed
even in Windows environment
--------------------------+-----------------------------------------
 Reporter:  KestutisIT    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  5.2.3
 Severity:  normal        |  Resolution:
 Keywords:  needs-patch   |     Focuses:  template, coding-standards
--------------------------+-----------------------------------------

Comment (by KestutisIT):

 *On line no. 4 there had to be `get_template_directory()` used instead.

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


More information about the wp-trac mailing list