[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 18:45:11 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                                       |
-------------------------------------------------+-------------------------
Changes (by westonruter):

 * keywords:  has-patch needs-user-docs => has-patch needs-user-docs
     reporter-feedback


Comment:

 I'm not sure this is right because you can add a `theme.json` to a classic
 theme too:

 https://learn.wordpress.org/tutorial/using-theme-json-with-classic-themes/
 https://learn.wordpress.org/lesson/theme-json-in-classic-themes/

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


More information about the wp-trac mailing list