Plugin Directory

Changeset 3057906


Ignore:
Timestamp:
03/25/2024 12:23:28 AM (21 months ago)
Author:
someguy9
Message:

1.5.19

Location:
lightweight-accordion
Files:
15 added
2 edited

Legend:

Unmodified
Added
Removed
  • lightweight-accordion/trunk/lightweight-accordion.php

    r3057066 r3057906  
    44     * Plugin URI: https://smartwp.co/lightweight-accordion
    55     * 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.18
     6     * Version: 1.5.19
    77     * Text Domain: lightweight-accordion
    88     * Author: Andy Feliciotti
     
    1414}
    1515
    16 define( 'LIGHTWEIGHT_ACCORDION_VERSION', '1.5.17' );
    17 define( 'LIGHTWEIGHT_ACCORDION_CSS_VERSION', '1.3.2' );
     16define( 'LIGHTWEIGHT_ACCORDION_VERSION', '1.5.19' );
     17define( 'LIGHTWEIGHT_ACCORDION_CSS_VERSION', '1.3.3' );
    1818
    1919// Enqueue CSS when in use
     
    153153    $title = isset( $options['title'] ) ? wp_kses_post( $options['title'] ) : '';
    154154    $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) ){
    158157        $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;
    160159        $output .= '</div></details></div>';
    161160    }
  • lightweight-accordion/trunk/readme.txt

    r3057066 r3057906  
    66Tested up to: 6.5
    77Requires PHP: 7.0
    8 Stable tag: 1.5.18
     8Stable tag: 1.5.19
    99License: GPLv3
    1010License URI: http://www.gnu.org/licenses/gpl.html
     
    100100== Changelog ==
    101101
     102= 1.5.19 =
     103 * Restore content display system to 1.5.16's version.
     104
    102105= 1.5.18 =
    103106 * Bug fix for sanatizing titles.
Note: See TracChangeset for help on using the changeset viewer.