dmessina_ewu
Forum Replies Created
-
sorry for spamming a closed thread, one more interesting behavior. On a new site with this setting: define(‘WPMS_MAIL_FROM_FORCE’, ‘true’); the box appears greyed out an unchecked, however, just clicking save on the settings page will insert a check into the greyed out box.
We were able to really get a good feeling for this during our testing tonight. We Network Activated the plugin on a multisite. For sites where the plugin wasn’t already active, or sites where the MAIL_FROM_FORCE wasn’t already checked, we saw the checkbox greyed out without a check. Sites that already had the box checked were greyed out without the check.
As a workaround we tried turning off network activation and toggling the plugin from the site, but the behavior remained the same as above.
I commented out the define(‘WPMS_MAIL_FROM_FORCE’, ‘true’); line, toggled the setting in WordPress, then readded the line. This was an effective way to get the checkbox marked.
We’ve disabled the flag for now to allow us to toggle it without changing our config file. Hoping there’s a CLI option for this. Hopefully this information is usefel.
Regards
I think there is still something amiss. I spent a bit of time debugging one of our multisite instances that had the setting on, but the box was greyed out without the checkbox. Force from wasn’t applied. I disabled the settign, toggled it manually and it worked. Enabling it again shows the checkbox greyed out but now the check is there.