Changeset 3057906
- Timestamp:
- 03/25/2024 12:23:28 AM (21 months ago)
- Location:
- lightweight-accordion
- Files:
-
- 15 added
- 2 edited
-
tags/1.5.18 (added)
-
tags/1.5.18/block.json (added)
-
tags/1.5.18/build (added)
-
tags/1.5.18/build/index.asset.php (added)
-
tags/1.5.18/build/index.js (added)
-
tags/1.5.18/css (added)
-
tags/1.5.18/css/editor-styles.css (added)
-
tags/1.5.18/css/lightweight-accordion.css (added)
-
tags/1.5.18/css/min (added)
-
tags/1.5.18/css/min/editor-styles.min.css (added)
-
tags/1.5.18/css/min/lightweight-accordion.min.css (added)
-
tags/1.5.18/index.php (added)
-
tags/1.5.18/lightweight-accordion.php (added)
-
tags/1.5.18/readme.txt (added)
-
tags/1.5.18/wpml-config.xml (added)
-
trunk/lightweight-accordion.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
lightweight-accordion/trunk/lightweight-accordion.php
r3057066 r3057906 4 4 * Plugin URI: https://smartwp.co/lightweight-accordion 5 5 * Description: Extremely simple accordion for adding collapse elements to pages without affecting page load time. Works for Classic Editor via shortcode and Gutenberg via Block. 6 * Version: 1.5.1 86 * Version: 1.5.19 7 7 * Text Domain: lightweight-accordion 8 8 * Author: Andy Feliciotti … … 14 14 } 15 15 16 define( 'LIGHTWEIGHT_ACCORDION_VERSION', '1.5.1 7' );17 define( 'LIGHTWEIGHT_ACCORDION_CSS_VERSION', '1.3. 2' );16 define( 'LIGHTWEIGHT_ACCORDION_VERSION', '1.5.19' ); 17 define( 'LIGHTWEIGHT_ACCORDION_CSS_VERSION', '1.3.3' ); 18 18 19 19 // Enqueue CSS when in use … … 153 153 $title = isset( $options['title'] ) ? wp_kses_post( $options['title'] ) : ''; 154 154 $title_tag = isset( $options['title_tag'] ) ? sanitize_html_class( $options['title_tag'] ) : 'h3'; 155 $sanitized_content = wp_kses_post( $content ); 156 157 if( $title && isset($sanitized_content) ){ 155 156 if( $title && isset($content) ){ 158 157 $output .= '<div class="' . esc_attr( implode(' ', $classes) ) . '"' . $anchor . '><details' . $propBox . '' . $open . '><summary class="lightweight-accordion-title"' . $titleStyles . '><' . esc_attr( $title_tag ) . '' . $propTitle . '>' . $title . '</' . esc_attr( $title_tag ) . '></summary><div class="' . esc_attr( implode(' ', $bodyClasses) ) . '"' . $bodyStyles . '>'; 159 $output .= $ sanitized_content;158 $output .= $content; 160 159 $output .= '</div></details></div>'; 161 160 } -
lightweight-accordion/trunk/readme.txt
r3057066 r3057906 6 6 Tested up to: 6.5 7 7 Requires PHP: 7.0 8 Stable tag: 1.5.1 88 Stable tag: 1.5.19 9 9 License: GPLv3 10 10 License URI: http://www.gnu.org/licenses/gpl.html … … 100 100 == Changelog == 101 101 102 = 1.5.19 = 103 * Restore content display system to 1.5.16's version. 104 102 105 = 1.5.18 = 103 106 * Bug fix for sanatizing titles.
Note: See TracChangeset
for help on using the changeset viewer.