[wp-trac] [WordPress Trac] #58853: Fix shortcode output not receiving image (and other) optimizations
WordPress Trac
noreply at wordpress.org
Wed Jul 19 17:16:27 UTC 2023
#58853: Fix shortcode output not receiving image (and other) optimizations
-------------------------------------------------+-------------------------
Reporter: flixos90 | Owner: flixos90
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 6.4
Component: Media | Version: 5.5
Severity: normal | Resolution:
Keywords: 2nd-opinion needs-patch needs-unit- | Focuses:
tests | performance
-------------------------------------------------+-------------------------
Comment (by flixos90):
To fix this bug, I am proposing that we reverse the order that
`wp_filter_content_tags()` and `do_shortcode()` are called. Technically
that is a very simple change, but I acknowledge that we have to explore
how `wp_filter_content_tags()` is used in the ecosystem to assess
feasibility of the change, especially when it comes to the particular
usage on the `the_content` filter. For example, are there plugins that
call `remove_filter( 'the_content', 'wp_filter_content_tags' )`?
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58853#comment:1>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list