#62665 closed defect (bug) (fixed)
Update `wp_get_global_stylesheet` and `WP_Theme_JSON::get_stylesheet` docblocks.
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 6.8 | Priority: | normal |
| Severity: | normal | Version: | trunk |
| Component: | Editor | Keywords: | has-patch, gutenberg-merge |
| Focuses: | Cc: |
Description
The changes from #61395, where wp_get_global_styles_custom_css was deprecated in favour of wp_get_global_stylesheet for handling custom css, introduced a new custom-css type to WP_Theme_JSON::get_stylesheet, but neglected to update the docblock with it.
wp_get_global_stylesheet's docblock also mentions the types that WP_Theme_JSON::get_stylesheet handles, so should also be updated accordingly.
Change History (5)
This ticket was mentioned in PR #7976 on WordPress/wordpress-develop by @isabel_brison.
11 months ago
#1
- Keywords has-patch added
#2
@
11 months ago
- Owner set to isabel_brison
- Resolution set to fixed
- Status changed from new to closed
In 59499:
@mukesh27 commented on PR #7976:
11 months ago
#3
@isabel_brison commented on PR #7976:
11 months ago
#4
Oh forgot to close it 🤦 thanks Mukesh!
Note: See
TracTickets for help on using
tickets.
…et_stylesheet`.
Trac ticket: https://core.trac.wordpress.org/ticket/62665