[wp-trac] [WordPress Trac] #59855: 6.4 - unexpected returns in `get_template_directory()` and `get_stylesheet_directory()`

WordPress Trac noreply at wordpress.org
Wed Nov 8 23:46:55 UTC 2023


#59855: 6.4 - unexpected returns in `get_template_directory()` and
`get_stylesheet_directory()`
--------------------------+-----------------------------
 Reporter:  rebasaurus    |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:
 Severity:  major         |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Not sure if related to #59834, but with the introduced globals
 `$wp_template_path` and `$wp_stylesheet_path` is leading to discrepancies
 returned in `get_template_directory()` and `get_stylesheet_directory()`,
 since it's being saved and only returned once. Seeing this occur in the
 tagDiv mobile plugin.

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


More information about the wp-trac mailing list