WordPress.org

Ready to get started?Download WordPress

Forums

Co-Authors Plus
Easy to Fix Activation Bug in Co-Author's Plus in v2.1.1 (5 posts)

  1. Mike Schinkel
    Member
    Posted 3 years ago #

    Hi, I find a simple bug that causes an error message on activation although it doesn't affect the operation of the plugin. The bug is on line 641 of co-authors.php. Here is what is says:

    register_activation_hook( __FILE__, array(&$edit_flow, 'activate_plugin'));

    Here is what is should say:

    register_activation_hook( __FILE__, array(&$coauthors_plus, 'activate_plugin'));

    Obviously this is a copy/paste error from the EditFlow plugin code. It doesn't have an affect because while Co-Authors Plus has an activation function it doesn't do anything, but the error message leads to the user wondering if it there was any problem.

    Please acknowledge this bug report so that I know you'll make the fix.

    Hope this helps.

    -Mike

    http://wordpress.org/extend/plugins/co-authors-plus/

  2. Mohammad Jangda
    Member
    Plugin Author

    Posted 3 years ago #

    Thanks for the note, Mike. I've committed the fix for this already and will be included in the next version.

  3. Mike Schinkel
    Member
    Posted 3 years ago #

    Awesome, glad to hear it.

  4. m-pokrovskii
    Member
    Posted 3 years ago #

    not work for me.

  5. Mohammad Jangda
    Member
    Plugin Author

    Posted 3 years ago #

    This is fixed in v2.5. Appreciate the patch, Mike!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic