#52795 closed enhancement (fixed)
Wrong DocBlock for unregister_block_style
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 5.8 | Priority: | normal |
| Severity: | normal | Version: | 5.8 |
| Component: | General | Keywords: | has-patch |
| Focuses: | docs | Cc: |
Description
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.
Change History (6)
This ticket was mentioned in PR #1093 on WordPress/wordpress-develop by kraftner.
5 years ago
#1
- Keywords has-patch added
@SergeyBiryukov commented on PR #1093:
16 months ago
#6
Thanks for the PR! This was merged in r50528.
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/52795