[wp-trac] [WordPress Trac] #34939: Shortcode regex no longer matches [shortcode=XXX]

WordPress Trac noreply at wordpress.org
Sat Dec 26 04:48:00 UTC 2015


#34939: Shortcode regex no longer matches [shortcode=XXX]
-------------------------------------+--------------------------
 Reporter:  kraftbj                  |       Owner:  miqrogroove
     Type:  defect (bug)             |      Status:  closed
 Priority:  normal                   |   Milestone:  4.4.1
Component:  Shortcodes               |     Version:  4.4
 Severity:  normal                   |  Resolution:  fixed
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+--------------------------

Comment (by dd32):

 In [changeset:"36098"]:
 {{{
 #!CommitTicketReference repository="" revision="36098"
 Shortcodes: `=` is a reserved character in shortcode names, mark it as
 such.

 This allows for shortcodes such as `[shortcode=attribute]` to work, which
 while never intentionally supported were widely used in the pre-shortcode
 days.

 Merges [36097] to the 4.4 branch, minus a string change.
 Props aaroncampbell.
 Fixes #34939.
 }}}

--
Ticket URL: <https://core.trac.wordpress.org/ticket/34939#comment:29>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list