• I run several websites and upgraded to 3.4.1 all in one day. Immediately, after the upgrades all plugins that used shortcodes stopped working. Has anyone else experienced this problem? Is WordPress Core Development aware of this issue?

Viewing 5 replies - 16 through 20 (of 20 total)
  • Thread Starter Jonathan Goodman

    (@johnoed)

    It must have to do with the Amazon Web Services servers.

    Sorry – I don’t have any experience using Amazon Web Services. ?? Do you have access to any other PHP 5.2.14 servers?

    I’m having a similar issue with WordPress 3.4.1 on an EC2 server with PHP 5.3.14. On 2 separate projects I’ve had issues not with shortcodes not working at all, but rather with them not parsing arguments correctly.

    I spent a lot of time looking in to it last night and it turned out to be this line of code in /wp-includes/shortcodes.php in the shortcode_parse_atts() function:

    $text = preg_replace("/[\x{00a0}\x{200b}]+/u", " ", $text);

    In my staging environment this replace is essentially wiping out all of the shortcode arguments. Commenting it out fixes the problem. I’ve found this issue discussed in several other places but none include a solution.

    If there’s anything else I can provide that can help figure this one out let me know.

    Thanks David for finding this. I was having this problem too. I posted about it here:

    https://www.ads-software.com/support/topic/captions-disappearing

    But once I applied your “fix” above it was resolved. This seems like a pretty significant flaw in the core code.

Viewing 5 replies - 16 through 20 (of 20 total)
  • The topic ‘Shortcodes stop working after 3.4.1 upgrade’ is closed to new replies.