SSL is not being enabled for individual site for network wide seting
-
Hi,
Thanks for this awesome plugin. I am having a problem with multisite installation after updating the plugin to version 4. The network wide option is enabled but after creating new site ssl is not being enabled on new sites.
I have tried to diagnose the issue and found out that the plugin hooks on ‘wp_insert_site’ action instead of ‘wp_initialize_site’. The later one was being used on version 3.5. with ‘wp_insert_site’ action hook, sites tables are not initialised, so the plugin fails to add the necessary options to database.File: class-multisite.php
Line: 56
Current code:add_action('wp_insert_site', array($this, 'maybe_activate_ssl_in_new_blog'), 20, 1);
Fixed code:add_action('wp_initialize_site', array($this, 'maybe_activate_ssl_in_new_blog'), 20, 1);
Apology for the formatting.
- The topic ‘SSL is not being enabled for individual site for network wide seting’ is closed to new replies.