• Resolved wadegibson

    (@wadegibson)


    I just updated to 7.0.2 and my sites are not showing a captcha on the /wp-admin login page. I have gone into Captcha Placement and checked the box for Login form. I was a little surprised that none of those were on by default. I had this same behavior on two different multisite installs, so I updated a standalone site and the plugin works fine there, just not on multisite. Ironically enough, on the standalone site, the placement boxes were checked as they were prior to upgrading, but on multisite the checkboxes were all blanked out.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support robertabela

    (@robert681)

    Hello @wadegibson

    Thank you for your message and for using our plugin.

    I am sorry to read about your issue. Can you please answer the below questions to help us understand and troubleshoot this issue?

    1) Do the sites on which the plugin worked vs those on which did not work have a different version of WordPress or PHP?

    2) Just to confirm, it seems that you have experienced this issue only on the multisite network, right?

    3) Do you have the plugin activated at network level on the multisite, or at child-site level?

    Looking forward to hearing from you and sorry for the inconvenience this issue has caused you.

    Hi,

    Got the same problem and lot of spam registrations. Had to reenter the setting, still didn’t work for multisite

    all thought I’m not the OP in response to your question 3)
    the plugin is network only for multisite environments

    I digged a bit into the code.

    One issue is that the option to enable the captcha for multisite signup is not working

    ms_user_signup is used in “anr-captcha-class.php” but is missing from “enabled_forms” in admin/settings.php.

    in the same admin/settings.php “network_admin_menu” should be used for multisite instead of “admin_menu”

    If “c4wp_same_settings_for_all_sites” is used in a multisite environment ANY user with a website can change the keys for ALL sites. I think only the super-admin should be allowed to do that. (this issue is resolved by using network_admin_menu)

    For now I patched the files as follows:

    #To move the menu to network only (will need a is_multisite) :
    admin/settings.php:20:
    add_action( 'network_admin_menu', [ $this, 'network_menu_page' ] );

    #to enable captcha on registration/signup on multisite ignoring the ms_user_signup
    anr-captcha-class.php:25:
    if ( c4wp_is_form_enabled( 'registration' ) && !is_multisite() ) {
    anr-captcha-class.php:30:
    if ( c4wp_is_form_enabled( 'registration' ) && is_multisite() ) {

    keep up the good work

    • This reply was modified 4 years, 4 months ago by brbrbr.
    • This reply was modified 4 years, 4 months ago by brbrbr.
    • This reply was modified 4 years, 4 months ago by brbrbr.
    • This reply was modified 4 years, 4 months ago by brbrbr.
    • This reply was modified 4 years, 4 months ago by brbrbr.

    A bit more:

    I think ‘c4wp_same_settings_for_all_sites’ should be true for multisite and/or it should be possible to enable the plugin for individual sites instead of network only.

    • This reply was modified 4 years, 4 months ago by brbrbr.
    Thread Starter wadegibson

    (@wadegibson)

    The behavior persists whether the plugin is Network Activated and/or individually child site activated. The standalone single site install that works is using PHP 7.4.27, as are the multisite installs that don’t work. All are running the latest WP 5.8.3. Thanks!

    Plugin Support robertabela

    (@robert681)

    We are looking into this @wadegibson and @brbrbr and we will get back with an update.

    Plugin Support robertabela

    (@robert681)

    Hello @wadegibson and @brbrbr

    We can confirm the issue. We already have a fix that will be included in the next update of the plugin.

    Thank you for reporting it and for using our plugin. Please let me now if there is anything else we can assist you with.

    Have a great weekend.

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

The topic ‘7.0.2 Broken for Multisite’ is closed to new replies.