[wp-trac] [WordPress Trac] #58853: Fix shortcode output not receiving image (and other) optimizations
WordPress Trac
noreply at wordpress.org
Tue Aug 1 18:04:35 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):
@joemcgill In your example, I think this wouldn't be a problem actually,
since blocks (including dynamic blocks) are still parsed as part of
`the_content` filter, so the shortcode in a block would have the same
implications as a shortcode that is directly within the post content. So I
don't think this would need to be specifically considered, it would be
fixed by doing the same as I outlined in [comment:3 my above comment] for
shortcodes in general.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/58853#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list