[Plugin: Shortcode Exec PHP] After upgrading to WP 3.3, it started adding
I’ve used this plugin successfully to add dynamic data to my pages.
For some reason, after upgrading to WP 3.3,
was added in some places to my HTML code that was echoed.
Can you tell why?
It happens only with shortcodes executed with this plugin.
Thank you very much for the quick reply.
I’m an advanced user, and did not skip that part – trust me. The problem is not that output is not shown. The problem is that things are added to it.
Here’s an example.
When I put this in the input:
I get this in the output:
This is inserting <p> into my code.
I can give another example in which it inserts
<br/>in my code if you want.
WordPress is probably doing this.
You can prevent it this way.
Please let me know if this fixes your problem and I will consider making this a plugin option.
Thanks again 🙂
It didn’t help.
I tried using the plugin suggested (wpautop-control) just in case it was my fault not knowing how to use the “remove_filter” (which I know, but hey, I might be wrong as well).
Anyway, not my efforts and not the plugin’s did the trick. Still comes up with <p> or
<br/>that are not supposed to be there.
Any other idea?
Try the no-wpautop of the development version of the plugin.
Do you have any caching enabled?
Or plugins that could be responsible for this?
If you have installed the development version, then there will be new option in the settings page of the plugin called ‘Disable wpautop’.
You will have to uninstall the current version and to upload the development version. Be sure the option ‘Delete options and shortcodes on deactivation (and when upgrading!)’ is unchecked. Also be sure to use the correct download link (the one in the changelog).
If you are unsure, you can follow these instructions (another plugin, but the process is the same).
Hi, just did a backup b4 to be sure 🙂
I installed the dev version, ticked the ‘Disable wpautop’ and nothing changed.
I also cleared the browser cache just in case (I have no WP cache plugin installed) although every change I do I can see…
I disabled almost every plugin on the site…
It still gives the same additional input for some reason.
I have tested it on my development site and I don’t see this problem (with or without the new option enabled).
I can think of just one thing, maybe your theme is doing this.
Try switching to the default theme.
I thought about it – with twenty eleven it has the same issue.
The issue first showed up when I upgraded to WP 3.3. And it happens only with the SC-PHP-EXEC sniplets (which I very much like).
My development environment is always the latest WordPress version and I don’t see this problem with your example from above.
There must be something else causing this, but I don’t know what.
It was cookiemonster!
Have no idea why it would cause any problems like this one…
Sorry for the mess, and a lot of thanks for the help!
- The topic ‘[Plugin: Shortcode Exec PHP] After upgrading to WP 3.3, it started adding’ is closed to new replies.