Plugin Directory

Changeset 3360110


Ignore:
Timestamp:
09/11/2025 06:41:23 PM (7 months ago)
Author:
agencydominion
Message:

version 1.7.7

Location:
fusion-extension-gallery/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • fusion-extension-gallery/trunk/fusion-extension-gallery.php

    r2654355 r3360110  
    88 * Plugin URI: http://www.agencydominion.com/fusion/
    99 * Description: Gallery Extension Package for Fusion.
    10  * Version: 1.7.6
     10 * Version: 1.7.7
    1111 * Author: Agency Dominion
    1212 * Author URI: http://agencydominion.com
  • fusion-extension-gallery/trunk/includes/extensions/gallery.php

    r2499385 r3360110  
    13561356                        $item_content_output .= !empty($gallery_item_headline) ? '<h2 class="gallery-item-headline">' . esc_html($gallery_item_headline) . '</h2>' : '';
    13571357                        $item_content_output .= !empty($gallery_item_subheadline) ? '<h3 class="gallery-item-subheadline">' . esc_html($gallery_item_subheadline) . '</h3>' : '';
    1358                         $item_content_output .= !empty($gallery_item_description) ? '<div class="gallery-item-desc">'. do_shortcode($gallery_item_description) .'</div>' : '';
     1358                        $item_content_output .= !empty($gallery_item_description) ? '<div class="gallery-item-desc">'. do_shortcode(wp_kses_post($gallery_item_description)) .'</div>' : '';
    13591359                        if (!empty($button_object)) {
    13601360                            $button_classes = apply_filters('fsn_masthead_button_class', 'gallery-item-button', $atts);
     
    14581458                    $item_content_output .= !empty($gallery_item_headline) ? '<h2 class="gallery-item-headline">' . esc_html($gallery_item_headline) . '</h2>' : '';
    14591459                    $item_content_output .= !empty($gallery_item_subheadline) ? '<h3 class="gallery-item-subheadline">' . esc_html($gallery_item_subheadline) . '</h3>' : '';
    1460                     $item_content_output .= !empty($gallery_item_description) ? '<div class="gallery-item-desc">'. do_shortcode($gallery_item_description) .'</div>' : '';
     1460                    $item_content_output .= !empty($gallery_item_description) ? '<div class="gallery-item-desc">'. do_shortcode(wp_kses_post($gallery_item_description)) .'</div>' : '';
    14611461                    if (!empty($button_object)) {
    14621462                        $button_classes = apply_filters('fsn_masthead_button_class', 'gallery-item-button', $atts);
     
    14881488                //decode custom entities to avoid JS errors
    14891489                $gallery_item_description = FusionCore::decode_custom_entities($gallery_item_description);
     1490                //sanitize for safe output in JavaScript
     1491                $gallery_item_description = wp_kses_post($gallery_item_description);
    14901492                $fsn_masthead_photoswipe_array[] = array(
    14911493                    'src' => esc_url($attachment_attrs[0]),
     
    16161618        $attachment_attrs = wp_get_attachment_image_src( $attachment->ID, 'hi-res' );
    16171619        $gallery_item_description = apply_filters('fsn_inline_item_photoswipe_caption', $attachment->post_excerpt, $atts);
     1620        //sanitize for safe output in JavaScript
     1621        $gallery_item_description = wp_kses_post($gallery_item_description);
    16181622        $fsn_inline_photoswipe_array[] = array(
    16191623            'src' => esc_url($attachment_attrs[0]),
     
    18981902                    $carousel_item_content_output .= '<'. $fsn_carousel_view_options['headline_size'] .'>'. (!empty($button_object) ? '<a'. fsn_get_button_anchor_attributes($button_object) .'>' : '') . esc_html($gallery_item_headline) . (!empty($button_object) ? '</a>' : '') .'</'. $fsn_carousel_view_options['headline_size'] .'>';
    18991903                }
    1900                 $carousel_item_content_output .= !empty($gallery_item_description) && $fsn_carousel_view_options['description'] === true ? do_shortcode($gallery_item_description) : '';
     1904                $carousel_item_content_output .= !empty($gallery_item_description) && $fsn_carousel_view_options['description'] === true ? do_shortcode(wp_kses_post($gallery_item_description)) : '';
    19011905                if (!empty($button_object) && $fsn_carousel_view_options['button'] === true) {
    19021906                    $button_classes = apply_filters('fsn_carousel_button_class', 'carousel-item-button');
  • fusion-extension-gallery/trunk/readme.txt

    r2654355 r3360110  
    33Tags: admin, custom, builder, page builder, layout builder, layout, page, columns, multi-column, grid, responsive, shortcode, bootstrap, image, gallery, carousel, masthead
    44Requires at least: 3.9
    5 Tested up to: 5.8.2
    6 Stable tag: 1.7.6
     5Tested up to: 6.8.2
     6Stable tag: 1.7.7
    77License: GPLv2
    88License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    5050
    5151== Changelog ==
     52
     53= 1.7.7 =
     54* Minor security fix.
    5255
    5356= 1.7.6 =
Note: See TracChangeset for help on using the changeset viewer.