[wp-trac] [WordPress Trac] #45642: function is_child_theme() bug

WordPress Trac noreply at wordpress.org
Fri Dec 14 13:33:15 UTC 2018


#45642: function is_child_theme() bug
--------------------------+-----------------------------
 Reporter:  samet5        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  5.0.1
 Severity:  normal        |   Keywords:  ?
  Focuses:                |
--------------------------+-----------------------------
 {{{#!php
 <?php
 function is_child_theme() {
         return ( TEMPLATEPATH !== STYLESHEETPATH );
 }
 }}}

 needs to get replaced in:
 {{{#!php
 <?php
 function is_child_theme() {
         return ( 'TEMPLATEPATH' !== 'STYLESHEETPATH' );
 }
 }}}

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


More information about the wp-trac mailing list