[wp-trac] [WordPress Trac] #62665: Update `wp_get_global_stylesheet` and `WP_Theme_JSON::get_stylesheet` docblocks.

WordPress Trac noreply at wordpress.org
Sun Dec 8 23:33:37 UTC 2024


#62665: Update `wp_get_global_stylesheet` and `WP_Theme_JSON::get_stylesheet`
docblocks.
---------------------------+--------------------
 Reporter:  isabel_brison  |      Owner:  (none)
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  6.8
Component:  Editor         |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+--------------------
 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.

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


More information about the wp-trac mailing list