Support » Plugin: And The Winner Is... » [Plugin: And The Winner Is…] Conflict with Members Plugin

  • Hi,
    I just found a conflict between the And the Winner Is … and Members plugins ( Specifically if AtWI is activated, you can’t add new capabilities for users, and the existing capabilities are truncated. According to the Members plugin author Justin Tadlock in his support forum:

    “Yep, it looks like that plugin is inappropriately loading JavaScript on every page in the WordPress admin instead of only the plugin-specific admin pages.

    If you want to pass a note along to the plugin author, tell him that his JavaScript should not be hooked to admin_init as in the atwi.php file:

    add_action('admin_init', array(&$this, 'AdminInit'));

    It should be hooked to admin_enqueue_scripts and the $hook_suffix parameter should be used to determine which page is currently being viewed.

    Or, just tell him to shoot me an email.”

    Greek to me, but I’m passing the word along!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author spencersokol


    Sorry about that. Rookie mistake. I thought I fixed that a while back, though I guess I never got a round tuit. I’ll get a new build out ASAP.

    Plugin Author spencersokol


    Ha! I had fixed it a while back and never committed it. Whoopsies. Tested on 3.2 and committed. Again, sorry about that. Let me know if you have any other issues.

    Thanks Spencer! I feel fancy that I’ve effected change to a wordpress plugin. Thanks for making this plugin, I have giveaways a few times a month on my blog and it’s been such a lifesaver.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: And The Winner Is…] Conflict with Members Plugin’ is closed to new replies.