Title: bug in class-wp-side-notice.php
Last modified: August 22, 2016

---

# bug in class-wp-side-notice.php

 *  Resolved [dimagsv](https://wordpress.org/support/users/dimagsv/)
 * (@dimagsv)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/bug-in-class-wp-side-noticephp/)
 * In the class-wp-side-notice.php lines
    add_action( ‘admin_enqueue_scripts’, `
   WP_Side_Notice::add_stylesheets_and_javascript() ); add_action( ‘admin_init’,
   WP_Side_Notice::process_response() );` must be replaced with
 *     ```
       add_action( 'admin_enqueue_scripts', array($this, 'add_stylesheets_and_javascript' ));
       add_action( 'admin_init',  array($this, 'process_response' ));
       ```
   
 * Plugin Protector 1.3
 * [https://wordpress.org/plugins/plugin-protector/](https://wordpress.org/plugins/plugin-protector/)

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

 *  Plugin Author [uamv](https://wordpress.org/support/users/uamv/)
 * (@uamv)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/bug-in-class-wp-side-noticephp/#post-5270033)
 * Thanks. I’ll check this out.
 *  Plugin Author [uamv](https://wordpress.org/support/users/uamv/)
 * (@uamv)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/bug-in-class-wp-side-noticephp/#post-5270034)
 * Version 1.4 should fix this. Also made a few edits to the calling of the class.
   Let me know if you encounter any other bugs and thank you for the report.

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

The topic ‘bug in class-wp-side-notice.php’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/plugin-protector_ebebeb.svg)
 * [Plugin Protector](https://wordpress.org/plugins/plugin-protector/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/plugin-protector/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/plugin-protector/)
 * [Active Topics](https://wordpress.org/support/plugin/plugin-protector/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/plugin-protector/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/plugin-protector/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [uamv](https://wordpress.org/support/users/uamv/)
 * Last activity: [11 years, 9 months ago](https://wordpress.org/support/topic/bug-in-class-wp-side-noticephp/#post-5270034)
 * Status: resolved