Replace wp_make_content_images_responsive()
.
#21510
Labels
Backwards Compatibility
Issues or PRs that impact backwards compatability
[Type] Task
Issues or PRs that have been broken down into an individual action to take
Is your feature request related to a problem? Please describe.
Based on https://core.trac.wordpress.org/changeset/47554,
wp_make_content_images_responsive()
will be deprecated in WP 5.5 and replaced bywp_filter_content_tags()
. There are currently two places in this plugin wherewp_make_content_images_responsive()
are being called directly, which will throw deprecation notices when running against WP trunk. See: https://github.com/WordPress/gutenberg/search?q=wp_make_content_images_responsive&unscoped_q=wp_make_content_images_responsiveDescribe the solution you'd like
Replace instances of
wp_make_content_images_responsive()
withwp_filter_content_tags()
if the latter function exists and fallback towp_make_content_images_responsive()
if not.Describe alternatives you've considered
I'm curious in the two places where this is called why specifically all these formatting functions are being called directly, rather than applying
the_content
hook to the template part code?The text was updated successfully, but these errors were encountered: