#58562 closed defect (bug) (fixed)
Doc block for register_block_style missing style_handle
Reported by: | bacoords | Owned by: | audrasjb |
---|---|---|---|
Milestone: | 6.3 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | docs | Cc: |
Description
The style_properties
parameter in the doc block for the register_block_style
function should say style_handle
not style
.
Correct example would look like:
* @param array $style_properties Array containing the properties of the style name, * label, style_handle (name of the stylesheet to be enqueued), * inline_style (string containing the CSS to be added).
Change History (6)
This ticket was mentioned in PR #4638 on WordPress/wordpress-develop by @dilipbheda.
18 months ago
#1
- Keywords has-patch added
@audrasjb commented on PR #4638:
18 months ago
#2
Thanks. I added a small text alignment fix in a follow-up comment.
#3
@
18 months ago
- Owner set to audrasjb
- Resolution set to fixed
- Status changed from new to closed
In 55952:
@audrasjb commented on PR #4638:
18 months ago
#4
committed in https://core.trac.wordpress.org/changeset/55952
Note: See
TracTickets for help on using
tickets.
Trac ticket: https://core.trac.wordpress.org/ticket/58562