Make WordPress Core

Changes between Initial Version and Version 1 of Ticket #50199, comment 1


Ignore:
Timestamp:
05/21/2020 10:06:24 AM (5 years ago)
Author:
dboy1988
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #50199, comment 1

    initial v1  
    1 Hi,
    2 
    3 I am not sure that is right.
    4 
    5 On line **77**: $has_templates = false is declared.
    6 
    7 On line **85**: if $allowed_files is not empty, $has_templates will be set to true.
    8 
    9 Then down on line **254**: if the theme is a child theme, it uses that boolean value to decide if the message, This child theme inherits templates from a parent theme (Parent theme name)
    10 
    11 To me it seems like it is still required?
    12 
    13 Please let me know if I am wrong.
    14 
    15 Thanks
     1//