diff options
-rw-r--r-- | Postman/PostmanOptions.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Postman/PostmanOptions.php b/Postman/PostmanOptions.php index 971cdd2..8825681 100644 --- a/Postman/PostmanOptions.php +++ b/Postman/PostmanOptions.php @@ -534,6 +534,11 @@ if ( ! class_exists( 'PostmanOptions' ) ) { return $this->isPluginSenderEmailEnforced(); } public function isPluginSenderEmailEnforced() { + + if ( $this->is_fallback ) { + return true; + } + if ( $this->isNew() ) { return self::DEFAULT_PLUGIN_MESSAGE_SENDER_EMAIL_ENFORCED; } if ( isset( $this->options [ PostmanOptions::PREVENT_MESSAGE_SENDER_EMAIL_OVERRIDE ] ) ) { |