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

WordPress Trac noreply at wordpress.org
Fri Dec 11 05:07:33 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:                |     Focuses:
--------------------------+--------------------

Comment (by smashballoon):

 I have 2 plugins which use shortcodes and have had several reports of
 issues with shortcode options since the 4.4 update. I'm not sure whether
 or not this is related, but we received a ticket from a user today who is
 experiencing issues after updating to 4.4 which may be useful:

 "It seems the wordpress editor occasionally replaces standard 0x020 space
 characters with 0x0a0 (unicode non-breaking space). I haven't been able to
 isolate exactly what causes this, probably some weird transition between
 the text and visual modes during editing. But it sometimes causes the
 plugin to gag on the shortcodes.
 Took me two days to figure this out! :) A working and non-working short
 code look identical in the wordpress editor but if I copy them over to a
 hex editor, I can see the non-working one has a 0x0a0 instead of a 0x020
 space character between the shortcode name and the parameter."

 It looks like some other plugins are also having similar problems too:
 https://wordpress.org/support/topic/shortcode-broken-with-wp-44-upgrade

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


More information about the wp-trac mailing list