Ultimate FAQ - Version 2.0.19

Version Description

(2021-06-24) = - Fixed an issue in which FAQs that were imported would not display on the front end until manually updated.

Download this release

Release Info

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

Code changes from version 2.0.18 to 2.0.19

Files changed (3) hide show
  1. includes/Import.class.php +5 -0
  2. readme.txt +3 -0
  3. ultimate-faqs.php +1 -1
includes/Import.class.php CHANGED
@@ -155,8 +155,13 @@ class ewdufaqImport {
155
  $post['post_status'] = 'publish';
156
  $post['post_type'] = EWD_UFAQ_FAQ_POST_TYPE;
157
 
 
 
158
  $post_id = wp_insert_post( $post );
159
 
 
 
 
160
  if ( $post_id != 0 ) {
161
 
162
  if ( ! empty( $post_categories ) ) {
155
  $post['post_status'] = 'publish';
156
  $post['post_type'] = EWD_UFAQ_FAQ_POST_TYPE;
157
 
158
+
159
+
160
  $post_id = wp_insert_post( $post );
161
 
162
+ // Required post_meta
163
+ update_post_meta( $post_id, 'ufaq_order', 9999 );
164
+
165
  if ( $post_id != 0 ) {
166
 
167
  if ( ! empty( $post_categories ) ) {
readme.txt CHANGED
@@ -264,6 +264,9 @@ Video 3 - FAQs Ordering
264
 
265
  == Changelog ==
266
 
 
 
 
267
  = 2.0.18 (2021-06-21) =
268
  - Fixed an issue with incorrect permalinks in search results.
269
  - Fixed an issue in which emails from Ultimate WP Mail were not available for selection.
264
 
265
  == Changelog ==
266
 
267
+ = 2.0.19 (2021-06-24) =
268
+ - Fixed an issue in which FAQs that were imported would not display on the front end until manually updated.
269
+
270
  = 2.0.18 (2021-06-21) =
271
  - Fixed an issue with incorrect permalinks in search results.
272
  - Fixed an issue in which emails from Ultimate WP Mail were not available for selection.
ultimate-faqs.php CHANGED
@@ -7,7 +7,7 @@ Author: Etoile Web Design
7
  Author URI: http://www.EtoileWebDesign.com/plugins/ultimate-faqs/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: ultimate-faqs
10
- Version: 2.0.18
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) )
7
  Author URI: http://www.EtoileWebDesign.com/plugins/ultimate-faqs/
8
  Terms and Conditions: http://www.etoilewebdesign.com/plugin-terms-and-conditions/
9
  Text Domain: ultimate-faqs
10
+ Version: 2.0.19
11
  */
12
 
13
  if ( ! defined( 'ABSPATH' ) )