Latest update broke most of my shortcodes
-
I have always loved Shortcoder. I’ve used it broadly for years, and have over 100 shortcodes, most of them providing jQuery. It is a boon to an amateur with some knowledge of scripting. I maintain online forms for a religious congregation, as a volunteer.
I updated to the latest version of Shortcoder today. I then started examining elements subject to shortcodes, and none of them worked.
What I discovered in doing some digging was that the update had deleted all the backslashes in my shortcodes’ javascript/jquery strings.
So, for example, every time an apostrophe or similar punctuation had been escaped in a string variable definition, the script broke entirely.
Less fatal, but more difficult to find and fix: \n, the line break character, became the character n, so lots of pages are now peppered with n’s. Just try searching for the single letter n in a 1000 line script …
It’s taking me hours of sweat and blood to try to find and correct all of the damage to the scripts. In many cases I have backup copies locally, but in some cases I don’t.
I’m hoping to fall in love with Shortcoder all over again, but I’m not sure how.
- The topic ‘Latest update broke most of my shortcodes’ is closed to new replies.