• Resolved nix255

    (@nix255)


    It would be great if you could update your plugin to be multisite compatible. At the moment the plugin fails email validation with an ‘invalid key’ error as it is trying to validate with the user information from the main site, rather than a sub-site on a multisite install.

    It is actually an easy fix, there is only one line of code that needs changing in two files.

    These two files:
    includes/functions.php line 632
    includes/classes/class-manage-verification.php line 322

    replace this line of code:
    $table = $wpdb->prefix . "usermeta";

    with this code:

    if(is_multisite()){
       $table = $wpdb->base_prefix . "usermeta";
    }else{
       $table = $wpdb->prefix . "usermeta";
    }

    Happy to contribute this fix if you can tell me where/how you would like it.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Multisite Compatibility Fix’ is closed to new replies.