Support » Plugin: Plugin Protector » bug in class-wp-side-notice.php

  • Resolved dimagsv

    (@dimagsv)


    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author uamv

    (@uamv)

    Thanks. I’ll check this out.

    Plugin Author uamv

    (@uamv)

    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.