[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 20:19:26 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 greenshady):

 Blocksy is a classic theme with some block-era features like `theme.json`
 (i.e., a "hybrid" theme).

 The most fundamental thing that a block theme requires is the `index.html`
 template. Otherwise, it's not a block theme.

 The addition a `theme.json` in a theme tells us nothing of whether it's a
 block theme.

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


More information about the wp-trac mailing list