Ultimate FAQ - Version 1.6.13

Version Description

  • Added in Ultimate WP Mail integration for the submit shortcode
Download this release

Release Info

Developer Rustaurius
Plugin Icon 128x128 Ultimate FAQ
Version 1.6.13
Comparing to
See all releases

Code changes from version 1.6.11 to 1.6.13

Functions/EWD_UFAQ_Submit_Question.php CHANGED
@@ -2,6 +2,7 @@
2
  function EWD_UFAQ_Submit_Question($success_message) {
3
  $Submit_Question_Captcha = get_option("EWD_UFAQ_Submit_Question_Captcha");
4
  $Admin_Question_Notification = get_option("EWD_UFAQ_Admin_Question_Notification");
 
5
 
6
  $Post_Title = sanitize_text_field($_POST['Post_Title']);
7
  $Post_Body = (isset($_POST['Post_Body']) ? sanitize_text_field($_POST['Post_Body']) : '');
@@ -23,6 +24,19 @@ function EWD_UFAQ_Submit_Question($success_message) {
23
 
24
  update_post_meta($post_id, "EWD_UFAQ_Post_Author", $Post_Author);
25
 
 
 
 
 
 
 
 
 
 
 
 
 
 
26
  if ($Admin_Question_Notification == "Yes") {
27
  EWD_UFAQ_Send_Admin_Notification_Email($post_id, $Post_Title, $Post_Body);
28
  }
@@ -53,4 +67,43 @@ function EWD_UFAQ_Send_Admin_Notification_Email($post_id, $Post_Title, $Post_Bod
53
  $Mail_Success = wp_mail($Admin_Email, $Subject_Line, $Message_Body, $headers);
54
  }
55
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
56
  ?>
2
  function EWD_UFAQ_Submit_Question($success_message) {
3
  $Submit_Question_Captcha = get_option("EWD_UFAQ_Submit_Question_Captcha");
4
  $Admin_Question_Notification = get_option("EWD_UFAQ_Admin_Question_Notification");
5
+ $Submit_FAQ_Email = get_option("EWD_UFAQ_Submit_FAQ_Email");
6
 
7
  $Post_Title = sanitize_text_field($_POST['Post_Title']);
8
  $Post_Body = (isset($_POST['Post_Body']) ? sanitize_text_field($_POST['Post_Body']) : '');
24
 
25
  update_post_meta($post_id, "EWD_UFAQ_Post_Author", $Post_Author);
26
 
27
+ if ($Submit_FAQ_Email != 0 and isset($_POST['Author_Email'])) {
28
+ update_post_meta($post_id, 'EWD_UFAQ_Post_Author_Email', sanitize_text_field($_POST['Author_Email']));
29
+ if (function_exists('EWD_URP_Send_Email_To_Non_User')) {
30
+ $Params = array(
31
+ 'Email_ID' => $Submit_FAQ_Email,
32
+ 'Email_Address' => $_POST['Author_Email'],
33
+ 'post_id' => $post_id
34
+ );
35
+
36
+ EWD_URP_Send_Email_To_Non_User($Params);
37
+ }
38
+ }
39
+
40
  if ($Admin_Question_Notification == "Yes") {
41
  EWD_UFAQ_Send_Admin_Notification_Email($post_id, $Post_Title, $Post_Body);
42
  }
67
  $Mail_Success = wp_mail($Admin_Email, $Subject_Line, $Message_Body, $headers);
68
  }
69
 
70
+ function EWD_UFAQ_Add_UWPM_Element_Sections() {
71
+ if (function_exists('uwpm_register_custom_element_section')) {
72
+ uwpm_register_custom_element_section('ewd_ufaq_uwpm_elements', array('label' => 'FAQ Tags'));
73
+ }
74
+ }
75
+ add_action('uwpm_register_custom_element_section', 'EWD_UFAQ_Add_UWPM_Element_Sections');
76
+
77
+ function EWD_UFAQ_Add_UWPM_Elements() {
78
+ if (function_exists('uwpm_register_custom_element')) {
79
+
80
+ uwpm_register_custom_element('ewd_ufaq_author',
81
+ array(
82
+ 'label' => 'FAQ Author',
83
+ 'callback_function' => 'EWD_UFAQ_UWPM_FAQ_Author',
84
+ 'section' => 'ewd_ufaq_uwpm_elements'
85
+ )
86
+ );
87
+ uwpm_register_custom_element('ewd_ufaq_author_email',
88
+ array(
89
+ 'label' => 'FAQ Author Email',
90
+ 'callback_function' => 'EWD_UFAQ_UWPM_FAQ_Author_Email',
91
+ 'section' => 'ewd_ufaq_uwpm_elements'
92
+ )
93
+ );
94
+ }
95
+ }
96
+ add_action('uwpm_register_custom_element', 'EWD_UFAQ_Add_UWPM_Elements');
97
+
98
+ function EWD_UFAQ_UWPM_FAQ_Author($Params, $User) {
99
+ if (!isset($Params['post_id'])) {return;}
100
+
101
+ return get_post_meta($Params['post_id'], 'EWD_UFAQ_Post_Author', true);
102
+ }
103
+
104
+ function EWD_UFAQ_UWPM_FAQ_Author_Email($Params, $User) {
105
+ if (!isset($Params['post_id'])) {return;}
106
+
107
+ return get_post_meta($Params['post_id'], 'EWD_UFAQ_Post_Author_Email', true);
108
+ }
109
  ?>
Functions/Update_Admin_Databases.php CHANGED
@@ -54,6 +54,7 @@ function EWD_UFAQ_UpdateOptions() {
54
  if (isset($_POST['submit_question_captcha']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Submit_Question_Captcha', sanitize_text_field($_POST['submit_question_captcha']));}
55
  if (isset($_POST['admin_question_notification']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Admin_Question_Notification', sanitize_text_field($_POST['admin_question_notification']));}
56
  if (isset($_POST['Options_Submit']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Admin_Notification_Email', sanitize_text_field($_POST['admin_notification_email']));}
 
57
  if (isset($_POST['faq_auto_complete_titles']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Auto_Complete_Titles', sanitize_text_field($_POST['faq_auto_complete_titles']));}
58
  if (isset($_POST['slug_base']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Slug_Base', $_POST['slug_base']);}
59
  if (isset($_POST['Socialmedia']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Social_Media', $Social_Media);}
54
  if (isset($_POST['submit_question_captcha']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Submit_Question_Captcha', sanitize_text_field($_POST['submit_question_captcha']));}
55
  if (isset($_POST['admin_question_notification']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Admin_Question_Notification', sanitize_text_field($_POST['admin_question_notification']));}
56
  if (isset($_POST['Options_Submit']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Admin_Notification_Email', sanitize_text_field($_POST['admin_notification_email']));}
57
+ if (isset($_POST['submit_faq_email']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Submit_FAQ_Email', sanitize_text_field($_POST['submit_faq_email']));}
58
  if (isset($_POST['faq_auto_complete_titles']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Auto_Complete_Titles', sanitize_text_field($_POST['faq_auto_complete_titles']));}
59
  if (isset($_POST['slug_base']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Slug_Base', $_POST['slug_base']);}
60
  if (isset($_POST['Socialmedia']) and $UFAQ_Full_Version == "Yes") {update_option('EWD_UFAQ_Social_Media', $Social_Media);}
Main.php CHANGED
@@ -7,7 +7,7 @@ Author: Etoile Web Design
7
  Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: ultimate-faqs
10
- Version: 1.6.11
11
  */
12
 
13
  global $ewd_ufaq_message;
@@ -196,6 +196,7 @@ function Set_EWD_UFAQ_Options() {
196
  if (get_option("EWD_UFAQ_Allow_Proposed_Answer") == "") {update_option("EWD_UFAQ_Allow_Proposed_Answer", "No");}
197
  if (get_option("EWD_UFAQ_Submit_Question_Captcha") == "") {update_option("EWD_UFAQ_Submit_Question_Captcha", "No");}
198
  if (get_option("EWD_UFAQ_Admin_Question_Notification") == "") {update_option("EWD_UFAQ_Admin_Question_Notification", "No");}
 
199
  if (get_option("EWD_UFAQ_Auto_Complete_Titles") == "") {update_option("EWD_UFAQ_Auto_Complete_Titles", "Yes");}
200
  if (get_option("EWD_UFAQ_Slug_Base") == "") {update_option("EWD_UFAQ_Slug_Base", "ufaqs");}
201
 
7
  Author URI: http://www.EtoileWebDesign.com/wordpress-plugins/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: ultimate-faqs
10
+ Version: 1.6.13
11
  */
12
 
13
  global $ewd_ufaq_message;
196
  if (get_option("EWD_UFAQ_Allow_Proposed_Answer") == "") {update_option("EWD_UFAQ_Allow_Proposed_Answer", "No");}
197
  if (get_option("EWD_UFAQ_Submit_Question_Captcha") == "") {update_option("EWD_UFAQ_Submit_Question_Captcha", "No");}
198
  if (get_option("EWD_UFAQ_Admin_Question_Notification") == "") {update_option("EWD_UFAQ_Admin_Question_Notification", "No");}
199
+ if (get_option("EWD_UFAQ_Submit_FAQ_Email") == "") {update_option("EWD_UFAQ_Submit_FAQ_Email", 0);}
200
  if (get_option("EWD_UFAQ_Auto_Complete_Titles") == "") {update_option("EWD_UFAQ_Auto_Complete_Titles", "Yes");}
201
  if (get_option("EWD_UFAQ_Slug_Base") == "") {update_option("EWD_UFAQ_Slug_Base", "ufaqs");}
202
 
Shortcodes/SubmitFAQ.php CHANGED
@@ -8,6 +8,7 @@ function Insert_Question_Form($atts) {
8
  $Custom_CSS = get_option('EWD_UFAQ_Custom_CSS');
9
  $Allow_Proposed_Answer = get_option("EWD_UFAQ_Allow_Proposed_Answer");
10
  $Submit_Question_Captcha = get_option("EWD_UFAQ_Submit_Question_Captcha");
 
11
 
12
  $ReturnString = "";
13
 
@@ -87,6 +88,20 @@ function Insert_Question_Form($atts) {
87
  $ReturnString .= "</div>";
88
  $ReturnString .= "</div>";
89
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
90
  if ($Submit_Question_Captcha == "Yes") {
91
  $Code = rand(1000,9999);
92
  $ModifiedCode = EWD_UFAQ_Encrypt_Captcha_Code($Code);
8
  $Custom_CSS = get_option('EWD_UFAQ_Custom_CSS');
9
  $Allow_Proposed_Answer = get_option("EWD_UFAQ_Allow_Proposed_Answer");
10
  $Submit_Question_Captcha = get_option("EWD_UFAQ_Submit_Question_Captcha");
11
+ $Submit_FAQ_Email = get_option("EWD_UFAQ_Submit_FAQ_Email");
12
 
13
  $ReturnString = "";
14
 
88
  $ReturnString .= "</div>";
89
  $ReturnString .= "</div>";
90
 
91
+ if ($Submit_FAQ_Email != 0) {
92
+ $ReturnString .= "<div class='form-field'>";
93
+ $ReturnString .= "<div id='ewd-faq-review-author' class='ewd-faq-review-label'>";
94
+ $ReturnString .= __("Author Email", 'ultimate-faqs') . ": ";
95
+ $ReturnString .= "</div>";
96
+ $ReturnString .= "<div id='ewd-faq-author-email-input' class='ewd-faq-review-input'>";
97
+ $ReturnString .= "<input type='text' name='Author_Email' id='Author_Email' />";
98
+ $ReturnString .= "</div>";
99
+ $ReturnString .= "<div id='ewd-faq-author-email-explanation' class='ewd-faq-review-explanation'>";
100
+ $ReturnString .= "<p>" . __("This is only used to verify the authenticity of the FAQ. It is not displayed anywhere.", 'ultimate-faqs') . "</p>";
101
+ $ReturnString .= "</div>";
102
+ $ReturnString .= "</div>";
103
+ }
104
+
105
  if ($Submit_Question_Captcha == "Yes") {
106
  $Code = rand(1000,9999);
107
  $ModifiedCode = EWD_UFAQ_Encrypt_Captcha_Code($Code);
html/DashboardPage.php CHANGED
@@ -134,6 +134,12 @@ if (get_option("EWD_UFAQ_Update_Flag") == "Yes" or get_option("EWD_UFAQ_Install_
134
  ?>
135
 
136
 
 
 
 
 
 
 
137
  <div id="ewd-dashboard-box-orders" class="ewd-ufaq-dashboard-box" >
138
  <div class="ewd-dashboard-box-icon"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/ewd-dashboard-icon-ufaq-01.png"/>
139
  </div>
134
  ?>
135
 
136
 
137
+ <?php if ( time() < 1511845201 and $UFAQ_Full_Version != "Yes" ) { ?>
138
+ <a href="https://www.etoilewebdesign.com/license-payment/"><img src="http://www.etoilewebdesign.com/Screenshots/blackFridaypromotionbanner1200.png" style="position: relative; float: left; width: 100%; height: auto; border: none;" /></a>
139
+ <div style="clear: both;"></div>
140
+ <?php } ?>
141
+
142
+
143
  <div id="ewd-dashboard-box-orders" class="ewd-ufaq-dashboard-box" >
144
  <div class="ewd-dashboard-box-icon"><img src="<?php echo plugins_url(); ?>/ultimate-faqs/images/ewd-dashboard-icon-ufaq-01.png"/>
145
  </div>
html/OptionsPage.php CHANGED
@@ -28,6 +28,7 @@
28
  $Submit_Question_Captcha = get_option("EWD_UFAQ_Submit_Question_Captcha");
29
  $Admin_Question_Notification = get_option("EWD_UFAQ_Admin_Question_Notification");
30
  $Admin_Notification_Email = get_option("EWD_UFAQ_Admin_Notification_Email");
 
31
  $FAQ_Auto_Complete_Titles = get_option("EWD_UFAQ_Auto_Complete_Titles");
32
  $Slug_Base = get_option("EWD_UFAQ_Slug_Base");
33
  $Socialmedia_String = get_option("EWD_UFAQ_Social_Media");
@@ -107,7 +108,8 @@
107
  $UFAQ_Styling_FAQ_Heading_Type = get_option("EWD_UFAQ_Styling_FAQ_Heading_Type");
108
  $Toggle_Symbol = get_option("EWD_UFAQ_Toggle_Symbol");
109
 
110
- if (!isset($Display_Tab)) {$Display_Tab = "";}
 
111
  ?>
112
  <div class="wrap ufaq-options-page-tabbed">
113
  <div class="ufaq-options-submenu-div">
@@ -126,7 +128,10 @@
126
 
127
  <form method="post" action="admin.php?page=EWD-UFAQ-Options&DisplayPage=Options&Action=EWD_UFAQ_UpdateOptions">
128
  <?php wp_nonce_field( 'EWD_UFAQ_Save_Options', 'EWD_UFAQ_Save_Options_Nonce' ); ?>
129
- <div id='Basic' class='ufaq-option-set'>
 
 
 
130
  <h2 id='label-basic-options' class='ufaq-options-page-tab-title'>Basic Options</h2>
131
  <br />
132
 
@@ -313,7 +318,7 @@
313
  </table>
314
  </div>
315
 
316
- <div id='Premium' class='ufaq-option-set ufaq-hidden'>
317
  <h2 id='label-premium-options' class='ufaq-options-page-tab-title'>Premium Options</h2>
318
  <br />
319
  <h3 id="premium-display-options" class="ufaq-options-page-tab-title"><?php _e('Display', 'ultimate-faqs'); ?></h3>
@@ -509,6 +514,30 @@
509
  </fieldset>
510
  </td>
511
  </tr>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
512
  </table>
513
 
514
  <h3 id="premium-faq-element-ordering-options" class="ufaq-options-page-tab-title"><?php _e('FAQ Elements Order', 'ultimate-faqs'); ?></h3>
@@ -529,7 +558,7 @@
529
  </table>
530
  </div>
531
 
532
- <div id='Order' class='ufaq-option-set ufaq-hidden'>
533
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Ordering Options</h2>
534
  <table class="form-table">
535
  <tr>
@@ -670,7 +699,7 @@
670
  </div>
671
  </div>
672
 
673
- <div id='Fields' class='ufaq-option-set ufaq-hidden'>
674
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Fields Options (Premium)</h2>
675
  <table class="form-table">
676
  <tr>
@@ -731,7 +760,7 @@
731
  </div>
732
 
733
 
734
- <div id='Labelling' class='ufaq-option-set ufaq-hidden'>
735
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Labelling Options</h2>
736
  <div class="ufaq-label-description"> Replace the default text on the FAQ page </div>
737
 
@@ -872,7 +901,7 @@
872
  </div>
873
  </div>
874
  </div>
875
- <div id='Styling' class='ufaq-option-set ufaq-hidden'>
876
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Styling Options (Premium)</h2>
877
 
878
  <div id='ufaq-styling-options' class="ufaq-options-div ufaq-options-flex">
28
  $Submit_Question_Captcha = get_option("EWD_UFAQ_Submit_Question_Captcha");
29
  $Admin_Question_Notification = get_option("EWD_UFAQ_Admin_Question_Notification");
30
  $Admin_Notification_Email = get_option("EWD_UFAQ_Admin_Notification_Email");
31
+ $Submit_FAQ_Email = get_option("EWD_UFAQ_Submit_FAQ_Email");
32
  $FAQ_Auto_Complete_Titles = get_option("EWD_UFAQ_Auto_Complete_Titles");
33
  $Slug_Base = get_option("EWD_UFAQ_Slug_Base");
34
  $Socialmedia_String = get_option("EWD_UFAQ_Social_Media");
108
  $UFAQ_Styling_FAQ_Heading_Type = get_option("EWD_UFAQ_Styling_FAQ_Heading_Type");
109
  $Toggle_Symbol = get_option("EWD_UFAQ_Toggle_Symbol");
110
 
111
+ if (isset($_POST['Display_Tab'])) {$Display_Tab = $_POST['Display_Tab'];}
112
+ else {$Display_Tab = "";}
113
  ?>
114
  <div class="wrap ufaq-options-page-tabbed">
115
  <div class="ufaq-options-submenu-div">
128
 
129
  <form method="post" action="admin.php?page=EWD-UFAQ-Options&DisplayPage=Options&Action=EWD_UFAQ_UpdateOptions">
130
  <?php wp_nonce_field( 'EWD_UFAQ_Save_Options', 'EWD_UFAQ_Save_Options_Nonce' ); ?>
131
+
132
+ <input type='hidden' name='Display_Tab' value='<?php echo $Display_Tab; ?>' />
133
+
134
+ <div id='Basic' class='ufaq-option-set<?php echo ( ($Display_Tab == '' or $Display_Tab == 'Basic') ? '' : ' ufaq-hidden' ); ?>'>
135
  <h2 id='label-basic-options' class='ufaq-options-page-tab-title'>Basic Options</h2>
136
  <br />
137
 
318
  </table>
319
  </div>
320
 
321
+ <div id='Premium' class='ufaq-option-set<?php echo ( $Display_Tab == 'Premium' ? '' : ' ufaq-hidden' ); ?>'>
322
  <h2 id='label-premium-options' class='ufaq-options-page-tab-title'>Premium Options</h2>
323
  <br />
324
  <h3 id="premium-display-options" class="ufaq-options-page-tab-title"><?php _e('Display', 'ultimate-faqs'); ?></h3>
514
  </fieldset>
515
  </td>
516
  </tr>
517
+ <tr>
518
+ <th scope="row">FAQ Submitted Thank You E-mail</th>
519
+ <td>
520
+ <fieldset><legend class="screen-reader-text"><span>FAQ Submitted Thank You E-mail</span></legend>
521
+ <?php
522
+ $plugin = "ultimate-wp-mail/Main.php";
523
+ $UWPM_Installed = is_plugin_active($plugin);
524
+ if ($UWPM_Installed) {
525
+ $UWPM_Emails = get_posts(array('post_type' => 'uwpm_mail_template', 'posts_per_page' => -1));
526
+ echo "<select name='submit_faq_email'>";
527
+ echo "<option value='0'>" . __("None", 'ultimate-faqs') . "</option>";
528
+ foreach ($UWPM_Emails as $Email) {
529
+ echo "<option value='" . $Email->ID . "' " . ($Submit_FAQ_Email == $Email->ID ? 'selected' : '') . ">" . $Email->post_title . "</option>";
530
+ }
531
+ echo "</select>";
532
+ echo "<p>What email should be sent out when an FAQ is submitted?</p>";
533
+ }
534
+ else {
535
+ echo "<p>You can use the <a href='https://wordpress.org/plugins/ultimate-wp-mail/' target='_blank'>Ultimate WP Mail plugin</a> to create a custom email that is sent whenever an FAQ is submitted.</p>";
536
+ }
537
+ ?>
538
+ </fieldset>
539
+ </td>
540
+ </tr>
541
  </table>
542
 
543
  <h3 id="premium-faq-element-ordering-options" class="ufaq-options-page-tab-title"><?php _e('FAQ Elements Order', 'ultimate-faqs'); ?></h3>
558
  </table>
559
  </div>
560
 
561
+ <div id='Order' class='ufaq-option-set<?php echo ( $Display_Tab == 'Order' ? '' : ' ufaq-hidden' ); ?>'>
562
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Ordering Options</h2>
563
  <table class="form-table">
564
  <tr>
699
  </div>
700
  </div>
701
 
702
+ <div id='Fields' class='ufaq-option-set<?php echo ( $Display_Tab == 'Fields' ? '' : ' ufaq-hidden' ); ?>'>
703
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Fields Options (Premium)</h2>
704
  <table class="form-table">
705
  <tr>
760
  </div>
761
 
762
 
763
+ <div id='Labelling' class='ufaq-option-set<?php echo ( $Display_Tab == 'Labelling' ? '' : ' ufaq-hidden' ); ?>'>
764
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Labelling Options</h2>
765
  <div class="ufaq-label-description"> Replace the default text on the FAQ page </div>
766
 
901
  </div>
902
  </div>
903
  </div>
904
+ <div id='Styling' class='ufaq-option-set<?php echo ( $Display_Tab == 'Styling' ? '' : ' ufaq-hidden' ); ?>'>
905
  <h2 id='label-order-options' class='ufaq-options-page-tab-title'>Styling Options (Premium)</h2>
906
 
907
  <div id='ufaq-styling-options' class="ufaq-options-div ufaq-options-flex">
js/Admin.js CHANGED
@@ -59,6 +59,7 @@ function ShowOptionTab(TabName) {
59
  jQuery(this).removeClass("options-subnav-tab-active");
60
  });
61
  jQuery("#"+TabName+"_Menu").addClass("options-subnav-tab-active");
 
62
  }
63
 
64
  jQuery(document).ready(function() {
59
  jQuery(this).removeClass("options-subnav-tab-active");
60
  });
61
  jQuery("#"+TabName+"_Menu").addClass("options-subnav-tab-active");
62
+ jQuery('input[name="Display_Tab"]').val(TabName);
63
  }
64
 
65
  jQuery(document).ready(function() {
readme.txt CHANGED
@@ -266,6 +266,12 @@ Video 3 - FAQs Ordering
266
 
267
 
268
  == Changelog ==
 
 
 
 
 
 
269
  = 1.6.11 =
270
  - Re-running the set options operation for those who had updated to version 1.6.10
271
 
266
 
267
 
268
  == Changelog ==
269
+ = 1.6.13 =
270
+ - Added in Ultimate WP Mail integration for the submit shortcode
271
+
272
+ = 1.6.12 =
273
+ - Minor styling updates
274
+
275
  = 1.6.11 =
276
  - Re-running the set options operation for those who had updated to version 1.6.10
277