Title: [Plugin: Shortcode Exec PHP] After upgrading to WP 3.3, it started adding
Last modified: August 20, 2016

---

# [Plugin: Shortcode Exec PHP] After upgrading to WP 3.3, it started adding

 *  [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * (@drizzt99)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/)
 * Hi,
    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.
 * [http://wordpress.org/extend/plugins/shortcode-exec-php/](http://wordpress.org/extend/plugins/shortcode-exec-php/)

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/page/2/?output_format=md)

 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469494)
 * I have answered your question [here](http://forum.bokhorst.biz/forums/topic/after-upgrading-to-wp-3-3-it-started-adding/).
 *  Thread Starter [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * (@drizzt99)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469499)
 * 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:
 *     ```
       echo '
                      <script language="javascript" type="text/javascript">
                                       function calculatecomm()
                                       {
                                           senrol1 = document.getElementById("enrol1").value
                                           senrol2 = document.getElementById("enrol2").value
       					hoursPerDay = document.getElementById("enrol3").value
   
       					pointVal = 75000/19000000;
       					pointsPerHour = 5;
       					valPerMonth = pointVal*pointsPerHour*30*hoursPerDay;
   
                                        }
                                   </script>';
       ```
   
 * I get this in the output:
 *     ```
       <p>               <script language="javascript" type="text/javascript">
                                       function calculatecomm()
                                       {
                                           senrol1 = document.getElementById("enrol1").value
                                           senrol2 = document.getElementById("enrol2").value
       					hoursPerDay = document.getElementById("enrol3").value</p>
       <p>					pointVal = 75000/19000000;
       					pointsPerHour = 5;
       					valPerMonth = pointVal*pointsPerHour*30*hoursPerDay;</p>
       <p>                                 }
                                   </script></p>
       ```
   
 * This is inserting <p> into my code.
 * I can give another example in which it inserts `<br/>` in my code if you want.
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469500)
 * WordPress is probably doing this.
    You can prevent it [this way](http://codex.wordpress.org/Function_Reference/wpautop).
   Please let me know if this fixes your problem and I will consider making this
   a plugin option.
 *  Thread Starter [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * (@drizzt99)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469502)
 * 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?
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469505)
 * Try the no-wpautop of [the development version](http://wordpress.org/extend/plugins/shortcode-exec-php/changelog/)
   of the plugin.
 * Do you have any caching enabled?
    Or plugins that could be responsible for this?
 *  Thread Starter [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * (@drizzt99)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469506)
 * I currently have v 1.37. How do I use this feature?
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469507)
 * If you have installed the development version, then there will be new option 
   in the settings page of the plugin called ‘Disable wpautop’.
 *  Thread Starter [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * (@drizzt99)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469508)
 * So I just install it? No need to uninstall/reinstall?
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469509)
 * 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](http://wordpress.org/extend/plugins/add-link-to-facebook/changelog/)(
   another plugin, but the process is the same).
 *  Thread Starter [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * (@drizzt99)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469516)
 * 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.
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469518)
 * 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.
 *  Thread Starter [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * (@drizzt99)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469524)
 * 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).
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469537)
 * 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.
 *  Thread Starter [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * (@drizzt99)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469538)
 * da!
    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!
 *  Plugin Contributor [M66B](https://wordpress.org/support/users/m66b/)
 * (@m66b)
 * [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/#post-2469540)
 * Guilty line of code:
    `if (!is_admin()) add_filter('the_content', 'wpautop', 
   12);` Seems like this plugin always calls wpautop without opt-out.

Viewing 15 replies - 1 through 15 (of 16 total)

1 [2](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/page/2/?output_format=md)

The topic ‘[Plugin: Shortcode Exec PHP] After upgrading to WP 3.3, it started adding’
is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/shortcode-exec-php.svg)
 * [Shortcode Exec PHP](https://wordpress.org/plugins/shortcode-exec-php/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/shortcode-exec-php/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/shortcode-exec-php/)
 * [Active Topics](https://wordpress.org/support/plugin/shortcode-exec-php/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/shortcode-exec-php/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/shortcode-exec-php/reviews/)

 * 16 replies
 * 2 participants
 * Last reply from: [drizzt99](https://wordpress.org/support/users/drizzt99/)
 * Last activity: [14 years, 4 months ago](https://wordpress.org/support/topic/plugin-shortcode-exec-php-after-upgrading-to-wp-33-it-started-adding/page/2/#post-2469541)
 * Status: not resolved