@@ -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 | ]); |
@@ -80,52 +80,52 @@ |
||
| 80 | 80 | |
| 81 | 81 | Options::addTranslatable('FormContact', [ |
| 82 | 82 | [ |
| 83 | - 'label' => 'First Name', |
|
| 84 | - 'name' => 'firstName', |
|
| 85 | - 'type' => 'text', |
|
| 86 | - 'required' => 1, |
|
| 87 | - 'default_value' => 'First Name' |
|
| 83 | + 'label' => 'First Name', |
|
| 84 | + 'name' => 'firstName', |
|
| 85 | + 'type' => 'text', |
|
| 86 | + 'required' => 1, |
|
| 87 | + 'default_value' => 'First Name' |
|
| 88 | 88 | ], |
| 89 | 89 | [ |
| 90 | - 'label' => 'Last Name', |
|
| 91 | - 'name' => 'lastName', |
|
| 92 | - 'type' => 'text', |
|
| 93 | - 'required' => 1, |
|
| 94 | - 'default_value' => 'Last Name' |
|
| 90 | + 'label' => 'Last Name', |
|
| 91 | + 'name' => 'lastName', |
|
| 92 | + 'type' => 'text', |
|
| 93 | + 'required' => 1, |
|
| 94 | + 'default_value' => 'Last Name' |
|
| 95 | 95 | ], |
| 96 | 96 | [ |
| 97 | - 'label' => 'Email', |
|
| 98 | - 'name' => 'email', |
|
| 99 | - 'type' => 'text', |
|
| 100 | - 'required' => 1, |
|
| 101 | - 'default_value' => 'Email' |
|
| 97 | + 'label' => 'Email', |
|
| 98 | + 'name' => 'email', |
|
| 99 | + 'type' => 'text', |
|
| 100 | + 'required' => 1, |
|
| 101 | + 'default_value' => 'Email' |
|
| 102 | 102 | ], |
| 103 | 103 | [ |
| 104 | - 'label' => 'Mobile Phone', |
|
| 105 | - 'name' => 'mobilePhone', |
|
| 106 | - 'type' => 'text', |
|
| 107 | - 'required' => 1, |
|
| 108 | - 'default_value' => 'Mobile Phone' |
|
| 104 | + 'label' => 'Mobile Phone', |
|
| 105 | + 'name' => 'mobilePhone', |
|
| 106 | + 'type' => 'text', |
|
| 107 | + 'required' => 1, |
|
| 108 | + 'default_value' => 'Mobile Phone' |
|
| 109 | 109 | ], |
| 110 | 110 | [ |
| 111 | - 'label' => 'Company', |
|
| 112 | - 'name' => 'company', |
|
| 113 | - 'type' => 'text', |
|
| 114 | - 'required' => 1, |
|
| 115 | - 'default_value' => 'Company' |
|
| 111 | + 'label' => 'Company', |
|
| 112 | + 'name' => 'company', |
|
| 113 | + 'type' => 'text', |
|
| 114 | + 'required' => 1, |
|
| 115 | + 'default_value' => 'Company' |
|
| 116 | 116 | ], |
| 117 | 117 | [ |
| 118 | - 'label' => 'Message', |
|
| 119 | - 'name' => 'message', |
|
| 120 | - 'type' => 'text', |
|
| 121 | - 'required' => 1, |
|
| 122 | - 'default_value' => 'Message' |
|
| 118 | + 'label' => 'Message', |
|
| 119 | + 'name' => 'message', |
|
| 120 | + 'type' => 'text', |
|
| 121 | + 'required' => 1, |
|
| 122 | + 'default_value' => 'Message' |
|
| 123 | 123 | ], |
| 124 | 124 | [ |
| 125 | - 'label' => 'ButtonText', |
|
| 126 | - 'name' => 'buttonText', |
|
| 127 | - 'type' => 'text', |
|
| 128 | - 'required' => 1, |
|
| 129 | - 'default_value' => 'Send Message' |
|
| 125 | + 'label' => 'ButtonText', |
|
| 126 | + 'name' => 'buttonText', |
|
| 127 | + 'type' => 'text', |
|
| 128 | + 'required' => 1, |
|
| 129 | + 'default_value' => 'Send Message' |
|
| 130 | 130 | ], |
| 131 | 131 | ]); |