[wp-trac] [WordPress Trac] #56184: register_block_type does not recognise "ancestor" block setting

WordPress Trac noreply at wordpress.org
Fri Jul 8 21:13:02 UTC 2022


#56184: register_block_type does not recognise "ancestor" block setting
--------------------------+-----------------------------
 Reporter:  lovor         |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Editor        |    Version:  6.0
 Severity:  normal        |   Keywords:  has-patch
  Focuses:  ui            |
--------------------------+-----------------------------
 When registering block through PHP, using register_block_type function,
 newly introduced "ancestor" block setting in block.json is not recognised.
 It works though, when block is registered from javascript.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/56184>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list