Title: debuger25's Replies | WordPress.org

---

# debuger25

  [  ](https://wordpress.org/support/users/debuger25/)

 *   [Profile](https://wordpress.org/support/users/debuger25/)
 *   [Topics Started](https://wordpress.org/support/users/debuger25/topics/)
 *   [Replies Created](https://wordpress.org/support/users/debuger25/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/debuger25/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/debuger25/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/debuger25/engagements/)
 *   [Favorites](https://wordpress.org/support/users/debuger25/favorites/)

 Search replies:

## Forum Replies Created

Viewing 4 replies - 1 through 4 (of 4 total)

 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts] [insert_php] legacy code not working](https://wordpress.org/support/topic/insert_php-legacy-code-not-working/)
 *  Thread Starter [debuger25](https://wordpress.org/support/users/debuger25/)
 * (@debuger25)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/insert_php-legacy-code-not-working/#post-11759146)
 * Hello Temyk, Thank you so much for helping me with this and pointing out my error.
   You are an great assert this company. Have a wonderful day.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts] [insert_php] legacy code not working](https://wordpress.org/support/topic/insert_php-legacy-code-not-working/)
 *  Thread Starter [debuger25](https://wordpress.org/support/users/debuger25/)
 * (@debuger25)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/insert_php-legacy-code-not-working/#post-11758860)
 * Following is the error I get (you can see this by going to: [http://www.chfoundationlubbock.com/contact/](http://www.chfoundationlubbock.com/contact/)
 * Parse error: syntax error, unexpected end of file in /home/chfounda/public_html/
   wp-content/plugins/insert-php/includes/shortcodes/shortcode-insert-php.php(25):
   eval()’d code on line 8
 * I think another issue could be that google recaptcha deprecating code in their
   recaptchalib.php file as well. ReCaptcha has a deprecated constructor
 * Thank you for the help.
 *   Forum: [Plugins](https://wordpress.org/support/forum/plugins-and-hacks/)
    In
   reply to: [[Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts] [insert_php] legacy code not working](https://wordpress.org/support/topic/insert_php-legacy-code-not-working/)
 *  Thread Starter [debuger25](https://wordpress.org/support/users/debuger25/)
 * (@debuger25)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/insert_php-legacy-code-not-working/#post-11758516)
 * Hello Temyk. Thank you for the reply. I see that the old [insert_php]..[/insert_php]
   works. I was able to point out that the following php code is what stopped working
   with the updated plugin. This same code used to work fine before the plugin got
   updated (this code is provided by google for ReCaptcha):
 * [insert_php]
    $secret = “XXXXXXXXXXXXXXXXXXXX”; // your secret key $response 
   = null;// empty response $reCaptcha = new ReCaptcha($secret);// check secret 
   key $response = $reCaptcha->verifyResponse($_SERVER[“REMOTE_ADDR”], $_POST[“g-
   recaptcha-response”]); if ($response != null && $response->success) { exit(0);[/
   insert_php]
 * Please let me know if you have any idea about why this peace of php code stopped
   working. It used to work fine before and I haven’t made any changes to it.
 *   Forum: [Reviews](https://wordpress.org/support/forum/reviews/)
    In reply to:
   [[Woody Code Snippets – Insert PHP, CSS, JS, and Header/Footer Scripts] Broke my legacy site.](https://wordpress.org/support/topic/broke-my-legacy-site/)
 *  [debuger25](https://wordpress.org/support/users/debuger25/)
 * (@debuger25)
 * [6 years, 8 months ago](https://wordpress.org/support/topic/broke-my-legacy-site/#post-11755466)
 * I have turned on “Support old shorcodes [insert_php]” option, But it still doesn’t
   work. Please double check and see if this work for you. I have tried turning 
   this on and off in several of my web pages that use your plug in and saving it.
   But still doesn’t work

Viewing 4 replies - 1 through 4 (of 4 total)