[wp-trac] [WordPress Trac] #35770: Shortcode fails with 4.4. It is working with 4.3

WordPress Trac noreply at wordpress.org
Fri Feb 12 16:21:30 UTC 2016


#35770: Shortcode fails with 4.4. It is working with 4.3
-------------------------------+------------------------------
 Reporter:  dezio1900          |       Owner:
     Type:  defect (bug)       |      Status:  new
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Shortcodes         |     Version:  4.4.1
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by kraftbj):

 Replying to [comment:7 dezio1900]:

 > And this post is the actual answer to what is the bug:
 > ''"4.4 "broke" one of my shortcodes too. I tracked it down to the space
 character. Seems that when I originally copied and pasted the shortcode
 into my page, the space character following the shortcode (the delimiter
 space) was not ASCII 32. It was some other space. I fixed the problem by
 deleting the space following my shortcode name and reinserting the space
 with the spacebar. Saved the page and my shortcode started working
 again."''
 >
 > When I copy actual shortcode, and manually typed shortcode in Sublime
 Text, and set to show space charachter, I then can see the issue with
 first space after shortcode opening tag:
 > http://prntscr.com/a2cksu
 >

 @otto42 addressed that in
 https://core.trac.wordpress.org/ticket/34939#comment:22 . Basically, it
 used to work because of a happy accident and didn't intentionally work.
 Need to decide the next step if we support it or fix it some other way.

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


More information about the wp-trac mailing list