Accordion - Version 2.2.24

Version Description

  • 2020-06-17 - fix - Ultimate FAQ import issue fixed.
    • 2020-06-17 - fix - Responsive Accordion And Collapse import issue fixed.
    • 2020-06-17 - fix - Quick and Easy FAQs import issue fixed.
Download this release

Release Info

Developer pickplugins
Plugin Icon 128x128 Accordion
Version 2.2.24
Comparing to
See all releases

Code changes from version 2.2.23 to 2.2.24

accordions.php CHANGED
@@ -3,9 +3,7 @@
3
  Plugin Name: Accordions by PickPlugins
4
  Plugin URI: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
- Version: 2.2.23
7
- WC requires at least: 3.0.0
8
- WC tested up to: 4.2
9
  Author: PickPlugins
10
  Author URI: http://pickplugins.com
11
  Text Domain: accordions
@@ -23,7 +21,7 @@ class Accordions{
23
 
24
  define('accordions_plugin_url', plugins_url('/', __FILE__) );
25
  define('accordions_plugin_dir', plugin_dir_path( __FILE__ ) );
26
- define('accordions_version', '2.2.23' );
27
  define('accordions_plugin_name', 'Accordions' );
28
  define('accordions_plugin_basename', plugin_basename( __FILE__ ) );
29
 
3
  Plugin Name: Accordions by PickPlugins
4
  Plugin URI: https://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/?ref=dashboard
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
+ Version: 2.2.24
 
 
7
  Author: PickPlugins
8
  Author URI: http://pickplugins.com
9
  Text Domain: accordions
21
 
22
  define('accordions_plugin_url', plugins_url('/', __FILE__) );
23
  define('accordions_plugin_dir', plugin_dir_path( __FILE__ ) );
24
+ define('accordions_version', '2.2.24' );
25
  define('accordions_plugin_name', 'Accordions' );
26
  define('accordions_plugin_basename', plugin_basename( __FILE__ ) );
27
 
includes/3rd-party/easy-accordion-free/functions-data-import.php CHANGED
@@ -47,7 +47,7 @@ function accordions_import_cron_easy_accordion_free(){
47
  $accordion_content_source = $sp_eap_upload_options['accordion_content_source'];
48
 
49
 
50
- echo '<pre>'.var_export($accordion_content_source, ture).'</pre>';
51
 
52
 
53
  $eap_accordion_event = $sp_eap_shortcode_options['eap_accordion_event'];
47
  $accordion_content_source = $sp_eap_upload_options['accordion_content_source'];
48
 
49
 
50
+ echo '<pre>'.var_export($accordion_content_source, true).'</pre>';
51
 
52
 
53
  $eap_accordion_event = $sp_eap_shortcode_options['eap_accordion_event'];
includes/3rd-party/everest-tab-lite/functions-data-import.php CHANGED
@@ -44,7 +44,7 @@ function accordions_import_cron_everest_tab_lite(){
44
  $et_tab_settings = get_post_meta( $post_id, 'et_tab_settings', true );
45
 
46
 
47
- echo '<pre>'.var_export($et_tab_settings, ture).'</pre>';
48
 
49
  $tab_items = $et_main_settings['tab_items'];
50
 
44
  $et_tab_settings = get_post_meta( $post_id, 'et_tab_settings', true );
45
 
46
 
47
+ echo '<pre>'.var_export($et_tab_settings, true).'</pre>';
48
 
49
  $tab_items = $et_main_settings['tab_items'];
50
 
includes/3rd-party/quick-and-easy-faqs/functions-data-import.php CHANGED
@@ -24,7 +24,7 @@ function accordions_import_cron_quick_easy_faqs(){
24
  'post_type'=>'faq',
25
  'post_status'=>'publish',
26
  'posts_per_page'=> -1,
27
- //'meta_query'=> $meta_query,
28
  );
29
 
30
 
@@ -104,12 +104,6 @@ function accordions_import_cron_quick_easy_faqs(){
104
  $accordions_options['accordion']['is_child'] = '';
105
 
106
 
107
-
108
-
109
-
110
-
111
-
112
-
113
  $index = 0;
114
  while ( $wp_query->have_posts() ) : $wp_query->the_post();
115
 
@@ -133,7 +127,7 @@ function accordions_import_cron_quick_easy_faqs(){
133
  $accordions_options['content'][$index]['background_color'] = '';
134
  $accordions_options['content'][$index]['background_img'] = '';
135
 
136
- //update_post_meta($post_id, 'import_done', 'done');
137
 
138
  $index++;
139
  endwhile;
24
  'post_type'=>'faq',
25
  'post_status'=>'publish',
26
  'posts_per_page'=> -1,
27
+ 'meta_query'=> $meta_query,
28
  );
29
 
30
 
104
  $accordions_options['accordion']['is_child'] = '';
105
 
106
 
 
 
 
 
 
 
107
  $index = 0;
108
  while ( $wp_query->have_posts() ) : $wp_query->the_post();
109
 
127
  $accordions_options['content'][$index]['background_color'] = '';
128
  $accordions_options['content'][$index]['background_img'] = '';
129
 
130
+ update_post_meta($post_id, 'import_done', 'done');
131
 
132
  $index++;
133
  endwhile;
includes/3rd-party/responsive-tabs/functions-data-import.php CHANGED
@@ -45,7 +45,7 @@ function accordions_import_cron_responsive_tabs(){
45
 
46
 
47
 
48
- echo '<pre>'.var_export($_rtbs_tabs_head, ture).'</pre>';
49
 
50
 
51
 
45
 
46
 
47
 
48
+ echo '<pre>'.var_export($_rtbs_tabs_head, true).'</pre>';
49
 
50
 
51
 
includes/3rd-party/sp-faq/functions-data-import.php CHANGED
@@ -24,7 +24,7 @@ function accordions_import_cron_sp_faq(){
24
  'post_type'=>'sp_faq',
25
  'post_status'=>'publish',
26
  'posts_per_page'=> -1,
27
- //'meta_query'=> $meta_query,
28
  );
29
 
30
 
@@ -133,12 +133,12 @@ function accordions_import_cron_sp_faq(){
133
  $accordions_options['content'][$index]['background_color'] = '';
134
  $accordions_options['content'][$index]['background_img'] = '';
135
 
136
- //update_post_meta($post_id, 'import_done', 'done');
137
 
138
  $index++;
139
  endwhile;
140
 
141
- echo '<pre>'.var_export($accordions_options, true).'</pre>';
142
 
143
 
144
  $post_data = array(
24
  'post_type'=>'sp_faq',
25
  'post_status'=>'publish',
26
  'posts_per_page'=> -1,
27
+ 'meta_query'=> $meta_query,
28
  );
29
 
30
 
133
  $accordions_options['content'][$index]['background_color'] = '';
134
  $accordions_options['content'][$index]['background_img'] = '';
135
 
136
+ update_post_meta($post_id, 'import_done', 'done');
137
 
138
  $index++;
139
  endwhile;
140
 
141
+ //echo '<pre>'.var_export($accordions_options, true).'</pre>';
142
 
143
 
144
  $post_data = array(
includes/3rd-party/tabs-pro/functions-data-import.php CHANGED
@@ -42,7 +42,7 @@ function accordions_import_cron_tabs_pro(){
42
  //echo $accordions_title.'<br/>';
43
  $custom_accordion_wordpresspro_columns = get_post_meta( $post_id, 'custom_accordion_wordpresspro_columns' );
44
 
45
- echo '<pre>'.var_export($custom_accordion_wordpresspro_columns, ture).'</pre>';
46
 
47
  $accordions_icons_plus = 'plus';
48
  $accordions_icons_minus = 'minus';
@@ -143,7 +143,7 @@ function accordions_import_cron_tabs_pro(){
143
  }
144
 
145
 
146
- echo '<pre>'.var_export($accordions_options, ture).'</pre>';
147
 
148
 
149
  $post_data = array(
42
  //echo $accordions_title.'<br/>';
43
  $custom_accordion_wordpresspro_columns = get_post_meta( $post_id, 'custom_accordion_wordpresspro_columns' );
44
 
45
+ echo '<pre>'.var_export($custom_accordion_wordpresspro_columns, true).'</pre>';
46
 
47
  $accordions_icons_plus = 'plus';
48
  $accordions_icons_minus = 'minus';
143
  }
144
 
145
 
146
+ echo '<pre>'.var_export($accordions_options, true).'</pre>';
147
 
148
 
149
  $post_data = array(
includes/3rd-party/tabs-responsive/functions-data-import.php CHANGED
@@ -25,7 +25,6 @@ function accordions_import_cron_tabs_responsive(){
25
  'post_status'=>'publish',
26
  'posts_per_page'=> 1,
27
  'meta_query'=> $meta_query,
28
-
29
  );
30
 
31
 
@@ -75,7 +74,7 @@ function accordions_import_cron_tabs_responsive(){
75
 
76
 
77
 
78
- echo '<pre>'.var_export($tabs_sec_title, ture).'</pre>';
79
 
80
  $accordions_icons_plus = 'plus';
81
  $accordions_icons_minus = 'minus';
@@ -183,10 +182,6 @@ function accordions_import_cron_tabs_responsive(){
183
  $i++;
184
  }
185
 
186
-
187
-
188
-
189
-
190
  $accordions_id = wp_insert_post(
191
  array(
192
  'post_title' => $post_title,
@@ -197,17 +192,6 @@ function accordions_import_cron_tabs_responsive(){
197
  )
198
  );
199
 
200
-
201
-
202
-
203
-
204
-
205
-
206
-
207
-
208
-
209
-
210
-
211
  update_post_meta($accordions_id, 'accordions_options', $accordions_options);
212
  update_post_meta($post_id, 'import_done', 'done');
213
 
25
  'post_status'=>'publish',
26
  'posts_per_page'=> 1,
27
  'meta_query'=> $meta_query,
 
28
  );
29
 
30
 
74
 
75
 
76
 
77
+ echo '<pre>'.var_export($tabs_sec_title, true).'</pre>';
78
 
79
  $accordions_icons_plus = 'plus';
80
  $accordions_icons_minus = 'minus';
182
  $i++;
183
  }
184
 
 
 
 
 
185
  $accordions_id = wp_insert_post(
186
  array(
187
  'post_title' => $post_title,
192
  )
193
  );
194
 
 
 
 
 
 
 
 
 
 
 
 
195
  update_post_meta($accordions_id, 'accordions_options', $accordions_options);
196
  update_post_meta($post_id, 'import_done', 'done');
197
 
includes/3rd-party/tabs-shortcode/functions-data-import.php CHANGED
@@ -24,7 +24,7 @@ function accordions_import_cron_tabs_shortcode(){
24
  'post_type'=> array( 'page', 'post' ),
25
  'post_status'=>'publish',
26
  'posts_per_page'=> 10,
27
- //'meta_query'=> $meta_query,
28
  );
29
 
30
 
@@ -171,7 +171,7 @@ function accordions_import_cron_tabs_shortcode(){
171
  $accordions_plugin_info['3rd_party_import'] = 'done';
172
  update_option('accordions_plugin_info', $accordions_plugin_info);
173
 
174
- wp_clear_scheduled_hook('accordions_import_cron_shortcodes_ultimate');
175
 
176
 
177
  endif;
24
  'post_type'=> array( 'page', 'post' ),
25
  'post_status'=>'publish',
26
  'posts_per_page'=> 10,
27
+ 'meta_query'=> $meta_query,
28
  );
29
 
30
 
171
  $accordions_plugin_info['3rd_party_import'] = 'done';
172
  update_option('accordions_plugin_info', $accordions_plugin_info);
173
 
174
+ wp_clear_scheduled_hook('accordions_import_cron_tabs_shortcode');
175
 
176
 
177
  endif;
includes/3rd-party/ultimate-faqs/functions-data-import.php CHANGED
@@ -24,7 +24,7 @@ function accordions_import_cron_ultimate_faqs(){
24
  'post_type'=>'ufaq',
25
  'post_status'=>'publish',
26
  'posts_per_page'=> -1,
27
- //'meta_query'=> $meta_query,
28
  );
29
 
30
 
@@ -138,7 +138,7 @@ function accordions_import_cron_ultimate_faqs(){
138
  $index++;
139
  endwhile;
140
 
141
- echo '<pre>'.var_export($accordions_options, true).'</pre>';
142
 
143
 
144
  $post_data = array(
@@ -155,10 +155,10 @@ function accordions_import_cron_ultimate_faqs(){
155
  update_post_meta($accordions_id, 'accordions_options', $accordions_options);
156
 
157
 
158
- echo '##################';
159
- echo '<br/>';
160
- echo 'import done: '.$post_title;
161
- echo '<br/>';
162
 
163
 
164
  wp_reset_query();
24
  'post_type'=>'ufaq',
25
  'post_status'=>'publish',
26
  'posts_per_page'=> -1,
27
+ 'meta_query'=> $meta_query,
28
  );
29
 
30
 
138
  $index++;
139
  endwhile;
140
 
141
+ //echo '<pre>'.var_export($accordions_options, true).'</pre>';
142
 
143
 
144
  $post_data = array(
155
  update_post_meta($accordions_id, 'accordions_options', $accordions_options);
156
 
157
 
158
+ // echo '##################';
159
+ // echo '<br/>';
160
+ // echo 'import done: '.$post_title;
161
+ // echo '<br/>';
162
 
163
 
164
  wp_reset_query();
includes/3rd-party/vc-tabs/functions-data-import.php CHANGED
@@ -70,7 +70,7 @@ function accordions_import_cron_vc_tabs(){
70
 
71
 
72
 
73
- echo '<pre>'.var_export($acc_sec_title, ture).'</pre>';
74
 
75
  $accordions_icons_plus = 'plus';
76
  $accordions_icons_minus = 'minus';
70
 
71
 
72
 
73
+ echo '<pre>'.var_export($acc_sec_title, true).'</pre>';
74
 
75
  $accordions_icons_plus = 'plus';
76
  $accordions_icons_minus = 'minus';
includes/3rd-party/wc-shortcodes/functions-data-import.php CHANGED
@@ -41,7 +41,7 @@ function accordions_import_cron_wc_shortcodes(){
41
 
42
  $accordions_options = array();
43
 
44
- echo '<pre>'.var_export($post_title, true).'</pre>';
45
 
46
  $accordions_icons_plus = 'plus';
47
  $accordions_icons_minus = 'minus';
41
 
42
  $accordions_options = array();
43
 
44
+ //echo '<pre>'.var_export($post_title, true).'</pre>';
45
 
46
  $accordions_icons_plus = 'plus';
47
  $accordions_icons_minus = 'minus';
includes/class-settings-hook.php CHANGED
@@ -438,7 +438,7 @@ if(!function_exists('accordions_settings_content_3rd_party_import')) {
438
  }elseif($source == 'easy-accordion-free'){
439
  wp_schedule_event(time(), '1minute', 'accordions_import_cron_easy_accordion_free');
440
  }elseif($source == 'responsive-accordion-and-collapse'){
441
- wp_schedule_event(time(), '1minute', 'accordions_import_cron_wpsm_ac');
442
  }elseif($source == 'responsive-tabs'){
443
  wp_schedule_event(time(), '1minute', 'accordions_import_cron_responsive_tabs');
444
  }elseif($source == 'tabs-responsive'){
@@ -605,13 +605,13 @@ if(!function_exists('accordions_settings_content_3rd_party_import')) {
605
  <p class=""><a class="button button-primary" href="<?php echo $actionurl.'&source=ultimate-faqs'; ?>">Import data</a></p>
606
  </div>
607
 
608
- <div class="item">
609
- <img src="https://ps.w.org/tabs-pro/assets/banner-772x250.png?rev=1570543">
610
- <div class="">Tab</div>
611
- <div class="">By themepoints</div>
612
-
613
- <p class=""><a class="button button-primary" href="<?php echo $actionurl.'&source=tabs-pro'; ?>">Import data</a></p>
614
- </div>
615
 
616
  <div class="item">
617
  <div class="">Accordion Shortcodes</div>
@@ -621,13 +621,13 @@ if(!function_exists('accordions_settings_content_3rd_party_import')) {
621
  </div>
622
 
623
 
624
- <div class="item">
625
- <img src="https://ps.w.org/wc-shortcodes/assets/banner-772x250.jpg?rev=1585251">
626
- <div class="">Shortcodes by Angie Makes</div>
627
- <div class="">By Chris Baldelomar</div>
628
-
629
- <p class=""><a class="button button-primary" href="<?php echo $actionurl.'&source=wc-shortcodes'; ?>">Import data</a></p>
630
- </div>
631
 
632
 
633
  <div class="item">
438
  }elseif($source == 'easy-accordion-free'){
439
  wp_schedule_event(time(), '1minute', 'accordions_import_cron_easy_accordion_free');
440
  }elseif($source == 'responsive-accordion-and-collapse'){
441
+ wp_schedule_event(time(), '1minute', 'accordions_import_cron_responsive_accordion_collapse');
442
  }elseif($source == 'responsive-tabs'){
443
  wp_schedule_event(time(), '1minute', 'accordions_import_cron_responsive_tabs');
444
  }elseif($source == 'tabs-responsive'){
605
  <p class=""><a class="button button-primary" href="<?php echo $actionurl.'&source=ultimate-faqs'; ?>">Import data</a></p>
606
  </div>
607
 
608
+ <!-- <div class="item">-->
609
+ <!-- <img src="https://ps.w.org/tabs-pro/assets/banner-772x250.png?rev=1570543">-->
610
+ <!-- <div class="">Tab</div>-->
611
+ <!-- <div class="">By themepoints</div>-->
612
+ <!---->
613
+ <!-- <p class=""><a class="button button-primary" href="--><?php //echo $actionurl.'&source=tabs-pro'; ?><!--">Import data</a></p>-->
614
+ <!-- </div>-->
615
 
616
  <div class="item">
617
  <div class="">Accordion Shortcodes</div>
621
  </div>
622
 
623
 
624
+ <!-- <div class="item">-->
625
+ <!-- <img src="https://ps.w.org/wc-shortcodes/assets/banner-772x250.jpg?rev=1585251">-->
626
+ <!-- <div class="">Shortcodes by Angie Makes</div>-->
627
+ <!-- <div class="">By Chris Baldelomar</div>-->
628
+ <!---->
629
+ <!-- <p class=""><a class="button button-primary" href="--><?php //echo $actionurl.'&source=wc-shortcodes'; ?><!--">Import data</a></p>-->
630
+ <!-- </div>-->
631
 
632
 
633
  <div class="item">
readme.txt CHANGED
@@ -4,7 +4,7 @@
4
  Tags: accordion, tabs, FAQ, WooCommerce FAQ Tab, accordion short-code, accordions widget, tab
5
  Requires at least: 3.8
6
  Tested up to: 5.4
7
- Stable tag: 2.2.23
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -139,6 +139,11 @@ then paste this shortcode anywhere in your page to display accordions<br />
139
 
140
  == Changelog ==
141
 
 
 
 
 
 
142
  = 2.2.23 =
143
  * 2020-06-10 - fix - minor js issue fixed.
144
 
4
  Tags: accordion, tabs, FAQ, WooCommerce FAQ Tab, accordion short-code, accordions widget, tab
5
  Requires at least: 3.8
6
  Tested up to: 5.4
7
+ Stable tag: 2.2.24
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
139
 
140
  == Changelog ==
141
 
142
+ = 2.2.24 =
143
+ * 2020-06-17 - fix - Ultimate FAQ import issue fixed.
144
+ * 2020-06-17 - fix - Responsive Accordion And Collapse import issue fixed.
145
+ * 2020-06-17 - fix - Quick and Easy FAQs import issue fixed.
146
+
147
  = 2.2.23 =
148
  * 2020-06-10 - fix - minor js issue fixed.
149