Version Description
- 2022-09-01 - fix - Style issue fixed
Download this release
Release Info
Developer | pickplugins |
Plugin | Accordion |
Version | 2.2.54 |
Comparing to | |
See all releases |
Code changes from version 2.2.50 to 2.2.54
- accordions.php +4 -4
- includes/functions-wc.php +1 -1
- includes/functions.php +34 -31
- readme.txt +9 -1
accordions.php
CHANGED
@@ -3,7 +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.
|
7 |
Author: PickPlugins
|
8 |
Author URI: http://pickplugins.com
|
9 |
Text Domain: accordions
|
@@ -23,7 +23,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.
|
27 |
define('accordions_plugin_name', 'Accordions');
|
28 |
define('accordions_plugin_basename', plugin_basename(__FILE__));
|
29 |
|
@@ -113,12 +113,12 @@ class Accordions
|
|
113 |
}
|
114 |
|
115 |
|
116 |
-
public function _activation()
|
|
|
117 |
|
118 |
$accordions_post_types = new accordions_post_types();
|
119 |
$accordions_post_types->_posttype_accordions();
|
120 |
flush_rewrite_rules();
|
121 |
-
|
122 |
}
|
123 |
|
124 |
|
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.54
|
7 |
Author: PickPlugins
|
8 |
Author URI: http://pickplugins.com
|
9 |
Text Domain: 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.54');
|
27 |
define('accordions_plugin_name', 'Accordions');
|
28 |
define('accordions_plugin_basename', plugin_basename(__FILE__));
|
29 |
|
113 |
}
|
114 |
|
115 |
|
116 |
+
public function _activation()
|
117 |
+
{
|
118 |
|
119 |
$accordions_post_types = new accordions_post_types();
|
120 |
$accordions_post_types->_posttype_accordions();
|
121 |
flush_rewrite_rules();
|
|
|
122 |
}
|
123 |
|
124 |
|
includes/functions-wc.php
CHANGED
@@ -34,7 +34,7 @@ function woo_product_tab_accordions_content()
|
|
34 |
|
35 |
|
36 |
if (!empty($accordions_id)) :
|
37 |
-
echo
|
38 |
endif;
|
39 |
}
|
40 |
|
34 |
|
35 |
|
36 |
if (!empty($accordions_id)) :
|
37 |
+
echo accordions_wp_kses(do_shortcode('[accordions id="' . esc_attr($accordions_id) . '"]'));
|
38 |
endif;
|
39 |
}
|
40 |
|
includes/functions.php
CHANGED
@@ -336,7 +336,6 @@ function accordions_get_shortcode($content)
|
|
336 |
foreach ($tabs as $tab_content) {
|
337 |
|
338 |
$shortcode_content = accordions_nested_shortcode_content($tab_content, $child_tag = 'restab');
|
339 |
-
|
340 |
}
|
341 |
}
|
342 |
|
@@ -618,42 +617,46 @@ function accordions_wp_kses($str)
|
|
618 |
|
619 |
$arr = array(
|
620 |
|
621 |
-
'div' => array('id'=>array(), 'class'=>array(), 'add_html'=>array(), 'style'=>array(), 'hidefocus'=>array(), 'tabindex'=>array(), 'role'=>array(),'aria-label'=>array(), 'aria-haspopup'=>array(), 'aria-labelledby'=>array(),
|
622 |
-
'span' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(),
|
623 |
-
|
624 |
-
|
625 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
626 |
|
627 |
-
'
|
628 |
-
'a' => array('id'=>array(), 'class'=>array(),'href'=>array()),
|
629 |
-
'label' => array('id'=>array(), 'class'=>array(),),
|
630 |
-
'code' => array('id'=>array(), 'class'=>array(),),
|
631 |
-
'script' => array('id'=>array(), 'class'=>array(),),
|
632 |
-
'style' => array('type'=>array(), ),
|
633 |
-
'ul' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(), ),
|
634 |
-
'li' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(), ),
|
635 |
-
'table' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(), ),
|
636 |
-
'thead' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(), ),
|
637 |
-
'tr' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(), ),
|
638 |
-
'th' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(), ),
|
639 |
-
'tbody' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(), ),
|
640 |
-
'td' => array('id'=>array(), 'class'=>array(),'tabindex'=>array(), ),
|
641 |
-
'img' => array('id'=>array(), 'class'=>array(), 'title'=>array(), 'alt'=>array(),'src'=>array(), 'srcset'=>array(),),
|
642 |
-
'iframe' => array('id'=>array(), 'class'=>array(),'width'=>array(), 'height'=>array(),'title'=>array(), 'src'=>array(), 'style'=>array(), ),
|
643 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
644 |
|
645 |
-
'input' => array('id'=>array(), 'class'=>array(), 'colorpicker'=>array(),'type'=>array(), 'checked'=>array(), 'name'=>array(), 'placeholder'=>array(), 'value'=>array() ),
|
646 |
-
'button' => array('id'=>array(), 'class'=>array(),'type'=>array(), 'name'=>array(), 'placeholder'=>array(), 'value'=>array(),'role'=>array(), 'aria-expanded'=>array(), 'data-wp-editor-id'=>array(), ),
|
647 |
|
648 |
-
'
|
649 |
-
'
|
650 |
-
'option' => array('value'=>array(), 'selected'=>array())
|
651 |
|
|
|
|
|
|
|
652 |
|
653 |
-
);
|
654 |
|
655 |
-
|
656 |
|
|
|
657 |
|
658 |
-
|
659 |
-
|
|
336 |
foreach ($tabs as $tab_content) {
|
337 |
|
338 |
$shortcode_content = accordions_nested_shortcode_content($tab_content, $child_tag = 'restab');
|
|
|
339 |
}
|
340 |
}
|
341 |
|
617 |
|
618 |
$arr = array(
|
619 |
|
620 |
+
'div' => array('id' => array(), 'class' => array(), 'add_html' => array(), 'style' => array(), 'hidefocus' => array(), 'tabindex' => array(), 'role' => array(), 'aria-label' => array(), 'aria-haspopup' => array(), 'aria-labelledby' => array(),),
|
621 |
+
'span' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
622 |
+
'i' => array('id' => array(), 'class' => array()),
|
623 |
+
'strong' => array('id' => array(), 'class' => array()),
|
624 |
+
'em' => array('id' => array(), 'class' => array()),
|
625 |
+
|
626 |
+
'p' => array('id' => array(), 'class' => array()),
|
627 |
+
'a' => array('id' => array(), 'class' => array(), 'href' => array()),
|
628 |
+
'label' => array('id' => array(), 'class' => array(),),
|
629 |
+
'code' => array('id' => array(), 'class' => array(),),
|
630 |
+
'script' => array('id' => array(), 'class' => array(),),
|
631 |
+
'style' => array('type' => array(),),
|
632 |
+
'ul' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
633 |
+
'ol' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
634 |
+
'li' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
635 |
|
636 |
+
'br' => array('id' => array(), 'class' => array(),),
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
637 |
|
638 |
+
'table' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
639 |
+
'thead' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
640 |
+
'tr' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
641 |
+
'th' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
642 |
+
'tbody' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
643 |
+
'td' => array('id' => array(), 'class' => array(), 'tabindex' => array(),),
|
644 |
+
'img' => array('id' => array(), 'class' => array(), 'title' => array(), 'alt' => array(), 'src' => array(), 'srcset' => array(),),
|
645 |
+
'iframe' => array('id' => array(), 'class' => array(), 'width' => array(), 'height' => array(), 'title' => array(), 'src' => array(), 'style' => array(),),
|
646 |
|
|
|
|
|
647 |
|
648 |
+
'input' => array('id' => array(), 'class' => array(), 'colorpicker' => array(), 'type' => array(), 'checked' => array(), 'name' => array(), 'placeholder' => array(), 'value' => array()),
|
649 |
+
'button' => array('id' => array(), 'class' => array(), 'type' => array(), 'name' => array(), 'placeholder' => array(), 'value' => array(), 'role' => array(), 'aria-expanded' => array(), 'data-wp-editor-id' => array(),),
|
|
|
650 |
|
651 |
+
'textarea' => array('id' => array(), 'name' => array(), 'class' => array(), 'editor_enabled' => array(), 'cols' => array(), 'rows' => array(), 'placeholder' => array(), 'value' => array(), 'aria-hidden' => array(), 'style' => array(), 'onclick' => array()),
|
652 |
+
'select' => array('id' => array(), 'class' => array(), 'option' => array('value' => array(), 'selected' => array()), 'name' => array()),
|
653 |
+
'option' => array('value' => array(), 'selected' => array())
|
654 |
|
|
|
655 |
|
656 |
+
);
|
657 |
|
658 |
+
$arr = apply_filters('accordions_wp_kses', $arr);
|
659 |
|
660 |
+
|
661 |
+
return wp_kses($str, $arr);
|
662 |
+
}
|
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: 6.0
|
7 |
-
Stable tag: 2.2.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -139,6 +139,14 @@ then paste this shortcode anywhere in your page to display accordions<br />
|
|
139 |
|
140 |
== Changelog ==
|
141 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
142 |
= 2.2.50 =
|
143 |
* 2022-08-29 - add - Tabs html broken 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: 6.0
|
7 |
+
Stable tag: 2.2.54
|
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.54 =
|
143 |
+
* 2022-09-01 - fix - Style issue fixed
|
144 |
+
|
145 |
+
|
146 |
+
|
147 |
+
= 2.2.51 =
|
148 |
+
* 2022-09-01 - fix - WooCommerce product FAQ tab HTML broken issue fixed.
|
149 |
+
|
150 |
= 2.2.50 =
|
151 |
* 2022-08-29 - add - Tabs html broken issue fixed.
|
152 |
|