| @@ -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 | /** |