#58562 closed defect (bug) (fixed)
Doc block for register_block_style missing style_handle
| Reported by: | bacoords | Owned by: | audrasjb |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.3 |
| Component: | General | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | docs |
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.
3 years ago
#1
- Keywords has-patch added
@audrasjb commented on PR #4638:
3 years ago
#2
Thanks. I added a small text alignment fix in a follow-up comment.
@audrasjb commented on PR #4638:
3 years ago
#4
committed in https://core.trac.wordpress.org/changeset/55952
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Trac ticket: https://core.trac.wordpress.org/ticket/58562