PluginProbe
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification / 5.5.0
Double Opt-In for Contact Form 7 – Secure, GDPR-Compliant Email Verification v5.5.0
5.12.0 5.13.0 5.13.1 5.11.0 5.10.0 5.9.0 5.8.0 5.8.1 5.7.0 5.6.2 5.6.3 5.6.1 5.6.0 5.5.0 5.4.0 5.3.2 5.3.1 5.1.6 5.1.5 trunk 2.1.5 2.11 2.12 2.13 2.15 All 47 releases
← All changes | src/FormSettings/FormSettingsDTO.php +2 -6 5.7.0 → 5.5.0 View file →
@@ -7,10 +7,8 @@
7 7 */
8 8
9 9 namespace Forge12\DoubleOptIn\FormSettings;
10 10
11 -use Forge12\DoubleOptIn\Setup\FormDefaults;
12 -
13 11 if ( ! defined( 'ABSPATH' ) ) {
14 12 exit;
15 13 }
16 14
@@ -274,12 +272,10 @@
274 272 *
275 273 * @return self
276 274 */
277 275 public static function createDefault(): self {
278 - $dto = new self();
279 -
280 - // Sender defaults from the setup wizard, if it ran.
281 - list( $dto->sender, $dto->senderName ) = FormDefaults::forNewForm( (string) get_bloginfo( 'admin_email' ), '' );
276 + $dto = new self();
277 + $dto->sender = get_bloginfo( 'admin_email' );
282 278 return $dto;
283 279 }
284 280
285 281 /**