[wp-trac] [WordPress Trac] #52795: Wrong DocBlock for unregister_block_style

WordPress Trac noreply at wordpress.org
Fri Mar 12 16:08:40 UTC 2021


#52795: Wrong DocBlock for unregister_block_style
-------------------------+-----------------------------
 Reporter:  kraftner     |      Owner:  (none)
     Type:  enhancement  |     Status:  new
 Priority:  normal       |  Milestone:  Awaiting Review
Component:  General      |    Version:  trunk
 Severity:  normal       |   Keywords:
  Focuses:  docs         |
-------------------------+-----------------------------
 Currently the DocBlock for the `$block_style_name` parameter of
 `unregister_block_style()` is documented as being an array while in fact
 it needs to be a string since it passes the parameter on to
 `WP_Block_Styles_Registry::unregister()` which takes a string.

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


More information about the wp-trac mailing list