[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 06:58:18 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:  closed
 Priority:  normal                               |   Milestone:  Awaiting
                                                 |  Review
Component:  Themes                               |     Version:  trunk
 Severity:  normal                               |  Resolution:  invalid
 Keywords:  has-patch needs-user-docs reporter-  |     Focuses:
  feedback dev-feedback close                    |
-------------------------------------------------+-------------------------
Changes (by ifatwp):

 * status:  new => closed
 * resolution:   => invalid


Comment:

 Thanks everyone for the collaboration — @westonruter, @greenshady and
 @wildworks !

 After reviewing this further, I've understand that hybrid themes (those
 that include theme.json but don’t rely fully on block templates) are not
 intended to be detected as block themes. In that case, the current
 function is returning the correct result.

 Appreciate all the input and clarification from everyone involved.

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


More information about the wp-trac mailing list