Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
FalkoJoseph committed Apr 28, 2021
1 parent 3e9b75b commit 8ad12f7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions admin/pages/class-wp-sweepbright-contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -182,6 +182,7 @@ public function submit_general_form()
$form = [
'title' => '-',
'url' => '-',
'address' => '-',
'first_name' => $this->validate_input($_POST['first_name']),
'last_name' => $this->validate_input($_POST['last_name']),
'email' => $this->validate_input($_POST['email']),
Expand Down
4 changes: 2 additions & 2 deletions admin/partials/contact.php
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@
<td>
<p>
Available tags: <kbd>[title]</kbd>, <kbd>[address]</kbd>, <kbd>[url]</kbd>, <kbd>[first_name]</kbd>, <kbd>[last_name]</kbd>, <kbd>[email]</kbd>, <kbd>[phone]</kbd>, <kbd>[message]</kbd>.<br>
<kbd>[title]</kbd>, <kbd>[url]</kbd> are only available for estate contact requests.
<kbd>[title]</kbd>, <kbd>[address]</kbd>, <kbd>[url]</kbd> are only available for estate contact requests.
</p>
<br>
<input required name="mail_subject" type="text" id="mail_subject" value="<?= WP_SweepBright_Helpers::contact_form()['autoresponder']['subject']; ?>" class="regular-text ltr">
Expand All @@ -85,7 +85,7 @@
<td>
<p>
Available tags: <kbd>[title]</kbd>, <kbd>[address]</kbd>, <kbd>[url]</kbd>, <kbd>[first_name]</kbd>, <kbd>[last_name]</kbd>, <kbd>[email]</kbd>, <kbd>[phone]</kbd>, <kbd>[message]</kbd>.<br>
<kbd>[title]</kbd>, <kbd>[url]</kbd> are only available for estate contact requests.
<kbd>[title]</kbd>, <kbd>[address]</kbd>, <kbd>[url]</kbd> are only available for estate contact requests.
</p>
<br>
<textarea name="mail_message" required id="mail_message" rows="10" class="widefat textarea code"><?= WP_SweepBright_Helpers::contact_form()['autoresponder']['message']; ?></textarea>
Expand Down
4 changes: 2 additions & 2 deletions wp-sweepbright.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
* Author: Compagnon Agency
* Author URI: https://compagnon.agency/
* Text Domain: wp-sweepbright
* Version: 1.7.7
* Version: 1.7.8
*/

// If this file is called directly, abort.
Expand All @@ -23,7 +23,7 @@
* Start at version 1.0.0 and use SemVer - https://semver.org
* Rename this for your plugin and update it as you release new versions.
*/
define('WP_SWEEPBRIGHT_VERSION', '1.7.7');
define('WP_SWEEPBRIGHT_VERSION', '1.7.8');

/**
* The code that runs during plugin activation.
Expand Down

0 comments on commit 8ad12f7

Please sign in to comment.