Deprecated inline styles
vinkla opened this issue · 1 comments
vinkla commented
To maintain backward compatibility, the following functions have been deprecated and replaced with the new approach:
print_embed_styles()
print_emoji_styles()
wp_admin_bar_header()
_admin_bar_bump_cb()
the_block_template_skip_link()
https://make.wordpress.org/core/2023/10/17/replacing-hard-coded-style-tags-with-wp_add_inline_style/
We should keep these in the plugin but add a note about their deprecation. Do we need to make changes for the new functions?
vinkla commented
We could probably skip this for now:
In 6.4 this
print_emoji_styles()
function is now deprecated. Nevertheless, the above method for preventing emoji styles from being printed is retained, even though they are now being printed bywp_enqueue_emoji_styles()
. This applies to the other deprecated functions as well, so no developer action is required.