Collapse-O-Matic - Version 1.6.1

Version Description

  • fixed undeclared cid variable
Download this release

Release Info

Developer baden03
Plugin Icon 128x128 Collapse-O-Matic
Version 1.6.1
Comparing to
See all releases

Code changes from version 1.6 to 1.6.1

Files changed (2) hide show
  1. collapse-o-matic.php +4 -3
  2. readme.txt +4 -1
collapse-o-matic.php CHANGED
@@ -5,7 +5,7 @@ Text Domain: colomat
5
  Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
7
  Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
8
- Version: 1.6
9
  Author: twinpictures, baden03
10
  Author URI: http://twinpictures.de/
11
  License: GPL2
@@ -23,7 +23,7 @@ class WP_Collapse_O_Matic {
23
  * Current version
24
  * @var string
25
  */
26
- var $version = '1.6';
27
 
28
  /**
29
  * Used as prefix for options entry
@@ -149,6 +149,7 @@ class WP_Collapse_O_Matic {
149
  $ran = rand(1, 10000);
150
  extract(shortcode_atts(array(
151
  'title' => '',
 
152
  'swaptitle' => '',
153
  'alt' => '',
154
  'swapalt' => '',
@@ -175,7 +176,7 @@ class WP_Collapse_O_Matic {
175
  'elwrapclass' => ''
176
  ), $atts));
177
 
178
- if($cid){
179
  $args = array(
180
  'post_type' => 'expand-element',
181
  'p' => $cid,
5
  Domain Path: /languages
6
  Plugin URI: http://plugins.twinpictures.de/plugins/collapse-o-matic/
7
  Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
8
+ Version: 1.6.1
9
  Author: twinpictures, baden03
10
  Author URI: http://twinpictures.de/
11
  License: GPL2
23
  * Current version
24
  * @var string
25
  */
26
+ var $version = '1.6.1';
27
 
28
  /**
29
  * Used as prefix for options entry
149
  $ran = rand(1, 10000);
150
  extract(shortcode_atts(array(
151
  'title' => '',
152
+ 'cid' => '',
153
  'swaptitle' => '',
154
  'alt' => '',
155
  'swapalt' => '',
176
  'elwrapclass' => ''
177
  ), $atts));
178
 
179
+ if(!empty($cid)){
180
  $args = array(
181
  'post_type' => 'expand-element',
182
  'p' => $cid,
readme.txt CHANGED
@@ -5,7 +5,7 @@ Donate link: http://plugins.twinpictures.de/plugins/collapse-o-matic/
5
  Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
6
  Requires at least: 3.5
7
  Tested up to: 4.0
8
- Stable tag: 1.6
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
@@ -50,6 +50,9 @@ No. Not even close.
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 1.6 =
54
  * fixed issue with using id anchor links on elements with expanded=‘true’
55
  * added support for Collapse Commander add-on plugin to manage expand elements
5
  Tags: collapse, expand, collapsible, expandable, expandable content, collapsable content, shortcode, hidden, hide, display, accordion, accordion, jQuery, javascript, roll-your-own, twinpictures, read me, read more, more, plugin oven
6
  Requires at least: 3.5
7
  Tested up to: 4.0
8
+ Stable tag: 1.6.1
9
  License: GPLv2 or later
10
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
11
 
50
 
51
  == Changelog ==
52
 
53
+ = 1.6.1 =
54
+ * fixed undeclared cid variable
55
+
56
  = 1.6 =
57
  * fixed issue with using id anchor links on elements with expanded=‘true’
58
  * added support for Collapse Commander add-on plugin to manage expand elements