[wp-trac] [WordPress Trac] #64241: wp_is_block_theme should detect block theme if the contains a theme.json file.

WordPress Trac noreply at wordpress.org
Wed Nov 12 17:45:25 UTC 2025


#64241: wp_is_block_theme should detect block theme if the contains a theme.json
file.
--------------------------+---------------------------------------
 Reporter:  ifatwp        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Themes        |    Version:  trunk
 Severity:  normal        |   Keywords:  has-patch needs-user-docs
  Focuses:                |
--------------------------+---------------------------------------
 Previously, block theme detection checked for the existence of:

 /templates/index.html

 /block-templates/index.html

 This update adds a new path check for theme.json located in the theme’s
 root folder. The presence of this file is now also used to identify block
 themes.

 PR: https://github.com/WordPress/wordpress-develop/pull/10509


 Let me know what more guidelines I need to follow since this was my first
 time here.

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


More information about the wp-trac mailing list