Changeset 3360110
- Timestamp:
- 09/11/2025 06:41:23 PM (7 months ago)
- Location:
- fusion-extension-gallery/trunk
- Files:
-
- 3 edited
-
fusion-extension-gallery.php (modified) (1 diff)
-
includes/extensions/gallery.php (modified) (5 diffs)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
fusion-extension-gallery/trunk/fusion-extension-gallery.php
r2654355 r3360110 8 8 * Plugin URI: http://www.agencydominion.com/fusion/ 9 9 * Description: Gallery Extension Package for Fusion. 10 * Version: 1.7. 610 * Version: 1.7.7 11 11 * Author: Agency Dominion 12 12 * Author URI: http://agencydominion.com -
fusion-extension-gallery/trunk/includes/extensions/gallery.php
r2499385 r3360110 1356 1356 $item_content_output .= !empty($gallery_item_headline) ? '<h2 class="gallery-item-headline">' . esc_html($gallery_item_headline) . '</h2>' : ''; 1357 1357 $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>' : ''; 1359 1359 if (!empty($button_object)) { 1360 1360 $button_classes = apply_filters('fsn_masthead_button_class', 'gallery-item-button', $atts); … … 1458 1458 $item_content_output .= !empty($gallery_item_headline) ? '<h2 class="gallery-item-headline">' . esc_html($gallery_item_headline) . '</h2>' : ''; 1459 1459 $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>' : ''; 1461 1461 if (!empty($button_object)) { 1462 1462 $button_classes = apply_filters('fsn_masthead_button_class', 'gallery-item-button', $atts); … … 1488 1488 //decode custom entities to avoid JS errors 1489 1489 $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); 1490 1492 $fsn_masthead_photoswipe_array[] = array( 1491 1493 'src' => esc_url($attachment_attrs[0]), … … 1616 1618 $attachment_attrs = wp_get_attachment_image_src( $attachment->ID, 'hi-res' ); 1617 1619 $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); 1618 1622 $fsn_inline_photoswipe_array[] = array( 1619 1623 'src' => esc_url($attachment_attrs[0]), … … 1898 1902 $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'] .'>'; 1899 1903 } 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)) : ''; 1901 1905 if (!empty($button_object) && $fsn_carousel_view_options['button'] === true) { 1902 1906 $button_classes = apply_filters('fsn_carousel_button_class', 'carousel-item-button'); -
fusion-extension-gallery/trunk/readme.txt
r2654355 r3360110 3 3 Tags: admin, custom, builder, page builder, layout builder, layout, page, columns, multi-column, grid, responsive, shortcode, bootstrap, image, gallery, carousel, masthead 4 4 Requires at least: 3.9 5 Tested up to: 5.8.26 Stable tag: 1.7. 65 Tested up to: 6.8.2 6 Stable tag: 1.7.7 7 7 License: GPLv2 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 50 50 51 51 == Changelog == 52 53 = 1.7.7 = 54 * Minor security fix. 52 55 53 56 = 1.7.6 =
Note: See TracChangeset
for help on using the changeset viewer.