Title: [Plugin: WP Security Scan] [Bug fix] Deprecated code used &amp; causing trouble in debug
Last modified: August 20, 2016

---

# [Plugin: WP Security Scan] [Bug fix] Deprecated code used & causing trouble in debug

 *  [Juliette Reinders Folmer](https://wordpress.org/support/users/jrf/)
 * (@jrf)
 * [14 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-bugfix-deprecated-code-used-causing-trouble-in-debug/)
 * L.S,
 * Would be nice if this could be fixed in the next version.
 * In file securityscan.php, line 245:
    `var wordpress_site_name = "<?php echo htmlentities(
   get_bloginfo('siteurl'));?>"` change this to: `var wordpress_site_name = "<?php
   echo htmlentities(get_bloginfo('url'));?>"`
 * Hope this helps!
 * Smile,
    Juliette
 * [http://wordpress.org/extend/plugins/wp-security-scan/](http://wordpress.org/extend/plugins/wp-security-scan/)

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

 *  [WebsiteDefender](https://wordpress.org/support/users/websitedefender/)
 * (@websitedefender)
 * [14 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-bugfix-deprecated-code-used-causing-trouble-in-debug/#post-2338288)
 * Thank you jrf for your feedback. We’ll update the next version to reflect this
   change!
 * Best Regards,
    Costin T.
 * (plug-in dev)
 *  [okso](https://wordpress.org/support/users/okso/)
 * (@okso)
 * [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-bugfix-deprecated-code-used-causing-trouble-in-debug/#post-2338404)
 * Hi, is this up for fix or fixed in Pro?
 * add_contextual_help is deprecated since version 3.3!
 * line 535
 *     ```
       if ( version_compare( $wp_version, '2.7alpha', '>' ) && function_exists('add_contextual_help') ) {
                           $hook = add_submenu_page( 'options-general.php', __('Secure WordPress', FB_SWP_TEXTDOMAIN), $menutitle, 'manage_options', basename(__FILE__), array(&$this, 'display_page') );
                           add_contextual_help( $hook, __('<a href="http://wordpress.org/extend/plugins/secure-wordpress/" target="_blank">Documentation</a>', FB_SWP_TEXTDOMAIN) );
       ```
   

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

The topic ‘[Plugin: WP Security Scan] [Bug fix] Deprecated code used & causing trouble
in debug’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-security-scan_f2f2f2.svg)
 * [Acunetix WP Security](https://wordpress.org/plugins/wp-security-scan/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-security-scan/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-security-scan/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-security-scan/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-security-scan/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-security-scan/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [okso](https://wordpress.org/support/users/okso/)
 * Last activity: [13 years, 9 months ago](https://wordpress.org/support/topic/plugin-wp-security-scan-bugfix-deprecated-code-used-causing-trouble-in-debug/#post-2338404)
 * Status: not resolved