[wp-trac] [WordPress Trac] #29051: get_raw_theme_root : Windows paths

WordPress Trac noreply at wordpress.org
Tue Jul 29 14:18:17 UTC 2014


#29051: get_raw_theme_root : Windows paths
--------------------------+------------------------------
 Reporter:  tivnet        |       Owner:
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Themes        |     Version:  3.9.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  template
--------------------------+------------------------------

Comment (by tivnet):

 In `function get_theme_root()`,

 this `if` won't work because of the Win-Unix paths:
 {{{
 if ( ! in_array( $theme_root, (array) $wp_theme_directories ) )
         $theme_root = WP_CONTENT_DIR . $theme_root;
 }}}

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


More information about the wp-trac mailing list