[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
Thu Nov 13 02:01:35 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                               |  Resolution:
 Keywords:  has-patch needs-user-docs reporter-  |     Focuses:
  feedback dev-feedback close                    |
-------------------------------------------------+-------------------------

Comment (by wildworks):

 - A theme.json is not required for block themes. Adding a theme.json check
 will prevent block themes without a theme.json from being considered block
 themes.
 - 'block-templates' theme support is also available in the classic theme.

 First of all, I would like to know why and what the purpose of updating
 the logic for determining block themes is.

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


More information about the wp-trac mailing list