[wp-trac] [WordPress Trac] #60948: shortcodes that return with no value / text will break if shortcode is being used as an attribute value
WordPress Trac
noreply at wordpress.org
Tue Apr 22 23:12:56 UTC 2025
#60948: shortcodes that return with no value / text will break if shortcode is
being used as an attribute value
--------------------------+------------------------------
Reporter: vpelss | Owner: (none)
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Shortcodes | Version: 6.5
Severity: normal | Resolution:
Keywords: | Focuses:
--------------------------+------------------------------
Comment (by vpelss):
I am assuming that whatever [https://core.trac.wordpress.org/ticket/60948]
fixed is worth this bug? The shortest way I can explain that if a
shortcode used as a tag's attribute value returns nothing, it mangles the
attribute value by sucking up the next attribute title.
Sure not a lot of code might do that, but the code is broken in that
respect.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/60948#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list