[wp-trac] [WordPress Trac] #54910: 5.9 Bug - Blank Home Page

WordPress Trac noreply at wordpress.org
Fri Jan 28 23:22:36 UTC 2022


#54910: 5.9 Bug - Blank Home Page
--------------------------------------+------------------------------
 Reporter:  cantuaria                 |       Owner:  (none)
     Type:  defect (bug)              |      Status:  new
 Priority:  normal                    |   Milestone:  Awaiting Review
Component:  Themes                    |     Version:  5.9
 Severity:  major                     |  Resolution:
 Keywords:  has-patch has-unit-tests  |     Focuses:
--------------------------------------+------------------------------

Comment (by manfcarlo):

 Here is another idea. Use
 [https://www.php.net/manual/en/function.scandir.php scandir] to check
 whether there are any non-html files in the templates folder, in addition
 to the existing check. In this case, the only false positives would occur
 if the theme has a templates folder with index.html and only other html
 files, which is not impossible but seems highly unlikely. It would be
 interesting to know if that would fix the false positive for @cantuaria
 your theme.

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


More information about the wp-trac mailing list