[wp-trac] [WordPress Trac] #57647: Deprecate wp_enqueue_block_support_styles function
WordPress Trac
noreply at wordpress.org
Mon Feb 13 21:33:38 UTC 2023
#57647: Deprecate wp_enqueue_block_support_styles function
-------------------------------------------------+-------------------------
Reporter: andrewserong | Owner:
| hellofromTonya
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: Future
| Release
Component: Editor | Version: trunk
Severity: normal | Resolution:
Keywords: has-patch gutenberg-merge changes- | Focuses:
requested |
-------------------------------------------------+-------------------------
Changes (by hellofromTonya):
* milestone: 6.2 => Future Release
Comment:
Note: This ticket is blocked due to [55255] added
`_wp_add_block_level_preset_styles()` that invokes
`wp_enqueue_block_support_styles()`.
For this ticket to move forward, first the
`_wp_add_block_level_preset_styles()` needs:
* to be analyzed to determine if
`wp_style_engine_get_stylesheet_from_css_rules()` can be used instead of
`wp_enqueue_block_support_styles()`.
* if yes, then the change needs to happen in Gutenberg, go through a
Gutenberg release, and then backported to Core.
As there's likely not time for this to happen in 6.2, I'll move this
ticket to `Future Release`. Once `_wp_add_block_level_preset_styles()` is
updated, then this ticket can be moved into a milestone.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57647#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list