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

WordPress Trac noreply at wordpress.org
Fri Dec 18 03:19:01 UTC 2015


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

Comment (by dd32):

 > I think the best solution would be to add = to the list of reserved
 characters not allowed in a shortcode name.

 That's the same conclusion I'd come to, and what I think we should move
 ahead with.
 For 4.5 we should also change the warning string not to hard-code that
 list in the translation and instead use %s with the characters.

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


More information about the wp-trac mailing list