Version Description
- 2022-08-29 - add - Tabs html broken issue fixed.
Download this release
Release Info
Developer | pickplugins |
Plugin | Accordion |
Version | 2.2.50 |
Comparing to | |
See all releases |
Code changes from version 2.2.48 to 2.2.50
- accordions.php +13 -2
- includes/functions.php +2 -0
- readme.txt +9 -1
- templates/tabs/tabs-hook.php +4 -4
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 |
|
@@ -56,6 +56,7 @@ class Accordions
|
|
56 |
require_once(accordions_plugin_dir . 'includes/3rd-party/3rd-party.php');
|
57 |
|
58 |
|
|
|
59 |
|
60 |
add_action('wp_enqueue_scripts', array($this, '_front_scripts'));
|
61 |
add_action('admin_enqueue_scripts', array($this, '_admin_scripts'));
|
@@ -111,6 +112,16 @@ class Accordions
|
|
111 |
do_action('accordions_action_uninstall');
|
112 |
}
|
113 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
114 |
public function _deactivation()
|
115 |
{
|
116 |
|
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.50
|
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.50');
|
27 |
define('accordions_plugin_name', 'Accordions');
|
28 |
define('accordions_plugin_basename', plugin_basename(__FILE__));
|
29 |
|
56 |
require_once(accordions_plugin_dir . 'includes/3rd-party/3rd-party.php');
|
57 |
|
58 |
|
59 |
+
register_activation_hook(__FILE__, array($this, '_activation'));
|
60 |
|
61 |
add_action('wp_enqueue_scripts', array($this, '_front_scripts'));
|
62 |
add_action('admin_enqueue_scripts', array($this, '_admin_scripts'));
|
112 |
do_action('accordions_action_uninstall');
|
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 |
+
|
125 |
public function _deactivation()
|
126 |
{
|
127 |
|
includes/functions.php
CHANGED
@@ -638,6 +638,8 @@ function accordions_wp_kses($str)
|
|
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 |
|
642 |
|
643 |
'input' => array('id'=>array(), 'class'=>array(), 'colorpicker'=>array(),'type'=>array(), 'checked'=>array(), 'name'=>array(), 'placeholder'=>array(), 'value'=>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() ),
|
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.48 =
|
143 |
* 2022-08-29 - update - Settings page slug changed
|
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.50
|
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.50 =
|
143 |
+
* 2022-08-29 - add - Tabs html broken issue fixed.
|
144 |
+
|
145 |
+
|
146 |
+
= 2.2.49 =
|
147 |
+
* 2022-08-29 - add - Image tag support for accordion content escape filter
|
148 |
+
|
149 |
+
|
150 |
= 2.2.48 =
|
151 |
* 2022-08-29 - update - Settings page slug changed
|
152 |
|
templates/tabs/tabs-hook.php
CHANGED
@@ -377,7 +377,7 @@ function accordions_tabs_main_items($atts)
|
|
377 |
|
378 |
ob_start();
|
379 |
?>
|
380 |
-
<li
|
381 |
|
382 |
<?php
|
383 |
if ($icon_position == 'left') :
|
@@ -416,7 +416,7 @@ function accordions_tabs_main_items($atts)
|
|
416 |
|
417 |
|
418 |
<div class="tabs-content tabs-content<?php echo esc_attr($index); ?> <?php echo esc_attr($body_class); ?>" id="tabs-<?php echo esc_attr($index); ?>">
|
419 |
-
<?php echo
|
420 |
</div>
|
421 |
|
422 |
<?php
|
@@ -432,9 +432,9 @@ function accordions_tabs_main_items($atts)
|
|
432 |
?>
|
433 |
|
434 |
<ul>
|
435 |
-
<?php echo
|
436 |
</ul>
|
437 |
-
<?php echo
|
438 |
<script>
|
439 |
(function($) {
|
440 |
|
377 |
|
378 |
ob_start();
|
379 |
?>
|
380 |
+
<li post_id="<?php echo esc_attr($post_id); ?>" header_id="header-<?php echo esc_attr($index); ?>" id="header-<?php echo esc_attr($index); ?>" style="" class="tabs-nav head<?php echo esc_attr($index); ?> <?php echo esc_attr($header_class); ?>" toggle-text="<?php echo do_shortcode(esc_attr($toggled_text)); ?>" main-text="<?php echo do_shortcode(esc_attr($accordion_header)); ?>">
|
381 |
|
382 |
<?php
|
383 |
if ($icon_position == 'left') :
|
416 |
|
417 |
|
418 |
<div class="tabs-content tabs-content<?php echo esc_attr($index); ?> <?php echo esc_attr($body_class); ?>" id="tabs-<?php echo esc_attr($index); ?>">
|
419 |
+
<?php echo htmlspecialchars_decode($accordion_body); ?>
|
420 |
</div>
|
421 |
|
422 |
<?php
|
432 |
?>
|
433 |
|
434 |
<ul>
|
435 |
+
<?php echo htmlspecialchars_decode($nav_html); ?>
|
436 |
</ul>
|
437 |
+
<?php echo htmlspecialchars_decode($nav_content_html); ?>
|
438 |
<script>
|
439 |
(function($) {
|
440 |
|