@@ -3,7 +3,6 @@ |
||
| 3 | 3 | namespace Flynt\Features\PasswordForm; |
| 4 | 4 | |
| 5 | 5 | use Timber\Timber; |
| 6 | -use Timber\Post; |
|
| 7 | 6 | |
| 8 | 7 | add_filter('the_password_form', function ($output) { |
| 9 | 8 | $context = Timber::get_context(); |
@@ -8,7 +8,7 @@ |
||
| 8 | 8 | add_filter('the_password_form', function ($output) { |
| 9 | 9 | $context = Timber::get_context(); |
| 10 | 10 | $context['form'] = [ |
| 11 | - 'url' => site_url('/wp-login.php?action=postpass', 'login_post') |
|
| 11 | + 'url' => site_url('/wp-login.php?action=postpass', 'login_post') |
|
| 12 | 12 | ]; |
| 13 | 13 | |
| 14 | 14 | return Timber::fetch('index.twig', $context); |
@@ -5,7 +5,7 @@ |
||
| 5 | 5 | use Timber\Timber; |
| 6 | 6 | use Timber\Post; |
| 7 | 7 | |
| 8 | -add_filter('the_password_form', function ($output) { |
|
| 8 | +add_filter('the_password_form', function($output) { |
|
| 9 | 9 | $context = Timber::get_context(); |
| 10 | 10 | $context['form'] = [ |
| 11 | 11 | 'url' => site_url('/wp-login.php?action=postpass', 'login_post') |