Accordion - Version 2.0.12

Version Description

  • 01/08/2016 - fix - accordion header messedup in non english.
Download this release

Release Info

Developer paratheme
Plugin Icon 128x128 Accordion
Version 2.0.12
Comparing to
See all releases

Code changes from version 2.0.11 to 2.0.12

Files changed (3) hide show
  1. accordions.php +2 -2
  2. includes/meta.php +21 -24
  3. readme.txt +5 -2
accordions.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Accordions
4
  Plugin URI: http://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
- Version: 2.0.11
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  License: GPLv2 or later
@@ -26,7 +26,7 @@ class Accordions{
26
  define('accordions_conatct_url', 'http://pickplugins.com/contact' );
27
  define('accordions_qa_url', 'http://www.pickplugins.com/questions/' );
28
  define('accordions_plugin_name', 'Accordions' );
29
- define('accordions_plugin_version', '2.0.11' );
30
  define('accordions_customer_type', 'free' );
31
  define('accordions_share_url', 'https://wordpress.org/plugins/accordions/' );
32
  define('accordions_tutorial_video_url', '//www.youtube.com/embed/h2wNFJaaY8s?rel=0' );
3
  Plugin Name: Accordions
4
  Plugin URI: http://www.pickplugins.com/item/accordions-html-css3-responsive-accordion-grid-for-wordpress/
5
  Description: Fully responsive and mobile ready accordion grid for wordpress.
6
+ Version: 2.0.12
7
  Author: pickplugins
8
  Author URI: http://pickplugins.com
9
  License: GPLv2 or later
26
  define('accordions_conatct_url', 'http://pickplugins.com/contact' );
27
  define('accordions_qa_url', 'http://www.pickplugins.com/questions/' );
28
  define('accordions_plugin_name', 'Accordions' );
29
+ define('accordions_plugin_version', '2.0.12' );
30
  define('accordions_customer_type', 'free' );
31
  define('accordions_share_url', 'https://wordpress.org/plugins/accordions/' );
32
  define('accordions_tutorial_video_url', '//www.youtube.com/embed/h2wNFJaaY8s?rel=0' );
includes/meta.php CHANGED
@@ -443,13 +443,13 @@ function meta_boxes_accordions_input( $post ) {
443
  <div class="section-panel">
444
 
445
  <strong><?php _e('Header','accordions'); ?></strong> <br>
446
- <input style="width:80%" placeholder="accordions Header" type="text" name="accordions_content_title[<?php echo $accordions_key; ?>]" value="<?php if(!empty($accordions_title)) echo htmlentities($accordions_title); ?>" /><br><br>
447
 
448
 
449
  <strong><?php _e('Content','accordions'); ?></strong> <br>
450
  <?php
451
 
452
- wp_editor( stripslashes($accordions_content_body[$accordions_key]), 'accordions_content_body'.$accordions_key, $settings = array('textarea_name'=>'accordions_content_body['.$accordions_key.']') );
453
 
454
 
455
  ?>
@@ -471,28 +471,25 @@ function meta_boxes_accordions_input( $post ) {
471
  <script>
472
  jQuery(document).ready(function($)
473
  {
474
- $(function() {
475
- $( "#accordions-content" ).sortable({ handle: '.section-header' });
476
- //$( ".items-container" ).disableSelection();
477
- });
478
-
479
-
480
-
481
-
482
-
483
- // to add editor on textarea
484
- tinyMCE.init({
485
- mode : "none",
486
- statusbar: false,
487
- menubar: false,
488
- statusbar: true,
489
- setup: function (editor) {
490
- editor.on('change', function () {
491
- editor.save();
492
- });
493
-
494
- },
495
- });
496
 
497
 
498
  $(document).on('click', '.accordions-content-buttons .add-accordions', function()
443
  <div class="section-panel">
444
 
445
  <strong><?php _e('Header','accordions'); ?></strong> <br>
446
+ <input style="width:80%" placeholder="accordions Header" type="text" name="accordions_content_title[<?php echo $accordions_key; ?>]" value="<?php if(!empty($accordions_title)) echo $accordions_title; ?>" /><br><br>
447
 
448
 
449
  <strong><?php _e('Content','accordions'); ?></strong> <br>
450
  <?php
451
 
452
+ wp_editor( $accordions_content_body[$accordions_key], 'accordions_content_body'.$accordions_key, $settings = array('textarea_name'=>'accordions_content_body['.$accordions_key.']') );
453
 
454
 
455
  ?>
471
  <script>
472
  jQuery(document).ready(function($)
473
  {
474
+ $(function() {
475
+ $( "#accordions-content" ).sortable({ handle: '.section-header' });
476
+ //$( ".items-container" ).disableSelection();
477
+ });
478
+
479
+
480
+ // to add editor on textarea
481
+ tinyMCE.init({
482
+ mode : "none",
483
+ statusbar: false,
484
+ menubar: false,
485
+ statusbar: true,
486
+ setup: function (editor) {
487
+ editor.on('change', function () {
488
+ editor.save();
489
+ });
490
+
491
+ },
492
+ });
 
 
 
493
 
494
 
495
  $(document).on('click', '.accordions-content-buttons .add-accordions', function()
readme.txt CHANGED
@@ -3,8 +3,8 @@
3
  Donate link: http://pickplugins.com
4
  Tags: accordion, accordions, Responsive accordions, accordions plugin, jQuery accordions, accordions short-code, accordions Widget, accordions plugin wordpress, accordions plugin jquery, tabs, jquery tabs, tab, responsive tabs
5
  Requires at least: 3.8
6
- Tested up to: 4.5.3
7
- Stable tag: 2.0.11
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
@@ -94,6 +94,9 @@ then paste this shortcode anywhere in your page to display accordions<br />
94
 
95
  == Changelog ==
96
 
 
 
 
97
  = 2.0.11 =
98
  * 27/07/2016 - fix - tinyMCE error issue fixed.
99
 
3
  Donate link: http://pickplugins.com
4
  Tags: accordion, accordions, Responsive accordions, accordions plugin, jQuery accordions, accordions short-code, accordions Widget, accordions plugin wordpress, accordions plugin jquery, tabs, jquery tabs, tab, responsive tabs
5
  Requires at least: 3.8
6
+ Tested up to: 4.6
7
+ Stable tag: 2.0.12
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
94
 
95
  == Changelog ==
96
 
97
+ = 2.0.12 =
98
+ * 01/08/2016 - fix - accordion header messedup in non english.
99
+
100
  = 2.0.11 =
101
  * 27/07/2016 - fix - tinyMCE error issue fixed.
102