[wp-trac] [WordPress Trac] #55486: register_block_type_from_metadata does NOT work within a theme but as a plugin

WordPress Trac noreply at wordpress.org
Wed Mar 30 15:24:28 UTC 2022


#55486: register_block_type_from_metadata does NOT work within a theme but as a
plugin
---------------------------+------------------------------
 Reporter:  andre3600      |       Owner:  (none)
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  General        |     Version:  5.9.2
 Severity:  minor          |  Resolution:
 Keywords:  needs-refresh  |     Focuses:
---------------------------+------------------------------

Comment (by joyously):

 I think this is working as designed, with the design being that themes
 should not supply blocks since they can be switched at any time, even
 programmatically.

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


More information about the wp-trac mailing list