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

WordPress Trac noreply at wordpress.org
Thu Jan 27 12:52:06 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:                |     Focuses:
--------------------------+------------------------------

Comment (by cantuaria):

 What's the purpose of `add_theme_support()` if not used to check if a
 theme support a feature?

 Even if WordPress never used .html files from the theme folder before,
 it's really irresponsible to assume that no theme will have it. It's a
 common file used in any web environment, so the correct assumption would
 be that it may contain, and it's far simpler using an existing API to
 verify the support than condemn all themes that use .html files.

 This way of thinking may cause a lot of insecurity for developers - it's
 the same as say that any file, besides style.css & functions.php, in your
 theme, may break your site in a future WordPress update.

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


More information about the wp-trac mailing list