@@ -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); |
@@ -25,7 +25,7 @@ |
||
| 25 | 25 | return $output; |
| 26 | 26 | } |
| 27 | 27 | |
| 28 | - // this action needs to be removed by the user if they want to overwrite this functionality |
|
| 28 | + // this action needs to be removed by the user if they want to overwrite this functionality |
|
| 29 | 29 | public static function loadFunctionsFile($componentName) |
| 30 | 30 | { |
| 31 | 31 | $componentManager = ComponentManager::getInstance(); |
@@ -70,9 +70,9 @@ |
||
| 70 | 70 | $pluginUrl = esc_url(admin_url('plugins.php')); |
| 71 | 71 | $message = ["${pluginName} Plugin not activated. Make sure you activate the plugin on the <a href=\"${pluginUrl}\">plugin page</a>."]; |
| 72 | 72 | $options = [ |
| 73 | - 'type' => 'error', |
|
| 74 | - 'title' => 'Flynt is missing a required plugin', |
|
| 75 | - 'dismissible' => false, |
|
| 73 | + 'type' => 'error', |
|
| 74 | + 'title' => 'Flynt is missing a required plugin', |
|
| 75 | + 'dismissible' => false, |
|
| 76 | 76 | ]; |
| 77 | 77 | |
| 78 | 78 | $manager->addNotice($message, $options); |
@@ -1,7 +1,7 @@ |
||
| 1 | 1 | <?php |
| 2 | 2 | |
| 3 | - use Timber\Timber; |
|
| 4 | - use Timber\Post; |
|
| 3 | + use Timber\Timber; |
|
| 4 | + use Timber\Post; |
|
| 5 | 5 | |
| 6 | 6 | add_filter('wp_insert_post_data', function ($data, $postArr) { |
| 7 | 7 | if ($postArr['post_type'] === 'revision') { |
@@ -385,12 +385,12 @@ |
||
| 385 | 385 | 'type' => 'text', |
| 386 | 386 | 'required' => 1, |
| 387 | 387 | 'default_value' => ',' |
| 388 | - ], |
|
| 389 | - [ |
|
| 388 | + ], |
|
| 389 | + [ |
|
| 390 | 390 | 'label' => 'Thousands Separator', |
| 391 | 391 | 'name' => 'thousandsSeparator', |
| 392 | 392 | 'type' => 'text', |
| 393 | 393 | 'required' => 1, |
| 394 | 394 | 'default_value' => '.' |
| 395 | - ] |
|
| 395 | + ] |
|
| 396 | 396 | ]); |