[wp-trac] [WordPress Trac] #34939: Shortcode regex no longer matches [shortcode=XXX]
WordPress Trac
noreply at wordpress.org
Tue Dec 22 00:46:53 UTC 2015
#34939: Shortcode regex no longer matches [shortcode=XXX]
-------------------------------------+--------------------------
Reporter: kraftbj | Owner: miqrogroove
Type: defect (bug) | Status: assigned
Priority: normal | Milestone: 4.4.1
Component: Shortcodes | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+--------------------------
Comment (by dd32):
Replying to [comment:21 aaroncampbell]:
> It also trims '=' from the left side of the attributes string, so that
the resulting attribute from `[shortcode=http://wordpress.org]` is just
'http://wordpress.org'.
I'm not sure we can, or should, make that change here unfortunately.
Existing shortcodes are probably relying upon it to work like that, I'd
rather just leave that as an undocumented format
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34939#comment:23>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list