Skip to content

Commit

Permalink
version 1.8.5.1
Browse files Browse the repository at this point in the history
  • Loading branch information
baden03 committed Aug 24, 2023
1 parent ba4c099 commit 6d808e5
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 5 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* 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
* Requires at least: 4.9
* Tested up to: 6.3.0
* Stable tag: 1.8.6
* Stable tag: 1.8.5.1
* Requires PHP: 7.2
* License: GPLv2 or later
* License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down
6 changes: 3 additions & 3 deletions collapse-o-matic.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Text Domain: jquery-collapse-o-matic
Plugin URI: https://pluginoven.com/plugins/collapse-o-matic/
Description: Collapse-O-Matic adds an [expand] shortcode that wraps content into a lovely, jQuery collapsible div.
Version: 1.8.5
Version: 1.8.5.1
Author: twinpictures, baden03
Author URI: https://twinpictures.de/
License: GPL2
Expand All @@ -29,7 +29,7 @@ class WP_Collapse_O_Matic {
* Current version
* @var string
*/
var $version = '1.8.5';
var $version = '1.8.5.1';

/**
* Used as prefix for options entry
Expand Down Expand Up @@ -419,7 +419,7 @@ function shortcode($atts, $content = null){
if(!empty($trigtype) && $trigtype == 'image' && !empty($triggerimage)){
$title = wp_get_attachment_image( $triggerimage, 'full' );
}
$link = $closeanchor.'<'. esc_attr($tag) .' class="collapseomatic '.esc_attr($trigclass).'" id="'.esc_attr($id).'" '.$relatt.' '.$inexatt.' '.$altatt.' '.$anchor.' '.$groupatt.' '.$effatt.' '.$duratt.'>'.esc_attr($startwrap).sanitize_title($title).esc_attr($endwrap).'</'. esc_attr($tag) .'>';
$link = $closeanchor.'<'. esc_attr($tag) .' class="collapseomatic '.esc_attr($trigclass).'" id="'.esc_attr($id).'" '.$relatt.' '.$inexatt.' '.$altatt.' '.$anchor.' '.$groupatt.' '.$effatt.' '.$duratt.'>'.esc_attr($startwrap).$title.esc_attr($endwrap).'</'. esc_attr($tag) .'>';
}

//swap image
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Donate link: https://pluginoven.com/panares-fund/
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
Requires at least: 4.9
Tested up to: 6.3.0
Stable tag: 1.8.5
Stable tag: 1.8.5.1
Requires PHP: 7.2
License: GPLv2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -51,6 +51,9 @@ No. Not even close.

== Changelog ==

= 1.8.5.1 =
* no longer sanitising title string

= 1.8.5 =
* using sanatize_title for the title tag

Expand Down

0 comments on commit 6d808e5

Please sign in to comment.