Plugin Directory

Changeset 3174817


Ignore:
Timestamp:
10/24/2024 09:00:18 AM (16 months ago)
Author:
bricksable
Message:

update 1.6.61

Location:
bricksable
Files:
162 added
6 edited

Legend:

Unmodified
Added
Removed
  • bricksable/trunk/bricksable.php

    r3173969 r3174817  
    22/**
    33 * Plugin Name: Bricksable
    4  * Version: 1.6.60
     4 * Version: 1.6.61
    55 * Plugin URI: https://bricksable.com/
    66 * Description: Elevate your website game with the Bricksable collection of premium elements for Bricks Builder. Designed to speed up your workflow, our customizable and fully responsive elements will take your website to the next level in no time.
     
    4040 */
    4141function bricksable() {
    42     $instance = Bricksable::instance( __FILE__, '1.6.60' );
     42    $instance = Bricksable::instance( __FILE__, '1.6.61' );
    4343
    4444    if ( is_null( $instance->settings ) ) {
  • bricksable/trunk/includes/elements/card/element-card.php

    r3115991 r3174817  
    1313    public $scripts      = array();
    1414    public $nestable     = true; // true || @since 1.5.
     15    public $tag          = 'h3';
    1516
    1617    // Methods: Builder-specific.
  • bricksable/trunk/includes/elements/flip-box/element-flip-box.php

    r3133087 r3174817  
    16971697        $this->set_attribute( 'ba-flipbox-front', 'class', array( 'ba-flipbox-front', 'ba-flipbox-container' ) );
    16981698        $this->set_attribute( 'ba-flipbox-front-content', 'class', array( 'ba-flipbox-content-wrapper' ) );
    1699         $front_heading_tag     = isset( $settings['front_heading_tag'] ) ? esc_html( $settings['front_heading_tag'] ) : 'h3';
     1699        $front_heading_tag     = isset( $settings['front_heading_tag'] ) ? Bricks\Helpers::sanitize_html_tag( $settings['front_heading_tag'], 'h3' ) : 'h3';
    17001700        $front_heading_classes = array(
    17011701            'bricks-heading',
     
    18131813        $this->set_attribute( 'ba-flipbox-back', 'class', array( 'ba-flipbox-back', 'ba-flipbox-container' ) );
    18141814        $this->set_attribute( 'ba-flipbox-back-content', 'class', array( 'ba-flipbox-content-wrapper' ) );
    1815         $back_heading_tag = isset( $settings['back_heading_tag'] ) ? esc_html( $settings['back_heading_tag'] ) : 'h3';
     1815        $back_heading_tag = isset( $settings['back_heading_tag'] ) ? Bricks\Helpers::sanitize_html_tag( $settings['back_heading_tag'], 'h3' ) : 'h3';
    18161816        $heading_classes  = array(
    18171817            'bricks-heading',
  • bricksable/trunk/includes/elements/text-notation/element-text-notation.php

    r3133087 r3174817  
    494494    public function render() {
    495495        $settings = $this->settings;
    496 
    497         $notation_tag = isset( $settings['notation_tag'] ) ? esc_html( $settings['notation_tag'] ) : 'h3';
    498496
    499497        if ( ! empty( $settings['notation_color']['rgb'] ) ) {
     
    542540        );
    543541
    544         $wrapper_tag = isset( $settings['wrapper_tag'] ) ? esc_html( $settings['wrapper_tag'] ) : 'p';
     542        $wrapper_tag  = isset( $settings['wrapper_tag'] ) ? Bricks\Helpers::sanitize_html_tag( $settings['wrapper_tag'], 'p' ) : 'p';
     543        $notation_tag = isset( $settings['notation_tag'] ) ? Bricks\Helpers::sanitize_html_tag( $settings['notation_tag'], 'h3' ) : 'h3';
    545544        $this->set_attribute( 'notation_wrapper', $wrapper_tag );
    546545        $this->set_attribute( 'notation_wrapper', 'class', 'ba-text-notation-wrapper-tag' );
  • bricksable/trunk/includes/elements/tilt-image/element-tilt-image.php

    r3133087 r3174817  
    583583                    array(
    584584                        'icon-class' => 'ti-image',
    585                         'text'       => esc_html__( 'No image selected.', 'bricksable' ),
     585                        'title'       => esc_html__( 'No image selected.', 'bricksable' ),
    586586                    )
    587587                );
     
    596596                        'icon-class' => 'ti-image',
    597597                        /* translators: 1: Image ID */
    598                         'text'       => sprintf( esc_html__( 'Image ID (%s) no longer exist. Please select another image.', 'bricksable' ), $settings['image']['id'] ),
     598                        'title'       => sprintf( esc_html__( 'Image ID (%s) no longer exist. Please select another image.', 'bricksable' ), $settings['image']['id'] ),
    599599                    )
    600600                );
     
    706706
    707707        if ( 'none' !== $show_title || 'none' !== $show_caption || isset( $settings['overlay_icon']['icon'] ) ) {
    708             $overlay_title_tag     = isset( $settings['overlay_title_tag'] ) ? esc_html( $settings['overlay_title_tag'] ) : 'h3';
     708            $overlay_title_tag     = isset( $settings['overlay_title_tag'] ) ? Bricks\Helpers::sanitize_html_tag( $settings['overlay_title_tag'], 'h3' ) : 'h3';
    709709            $overlay_title_classes = array(
    710710                'ba-tilt-image-overlay-title',
  • bricksable/trunk/readme.txt

    r3173969 r3174817  
    44Requires at least: 5.6
    55Tested up to: 6.6.2
    6 Stable tag: 1.6.60
     6Stable tag: 1.6.61
    77Requires PHP: 7.4
    88License: GPLv2 or later
     
    9595
    9696== Changelog ==
     97= 1.6.61 (2024-10-24) =
     98* Add: sanitize_html_tag filter to sanitize tag to Card Element, Text Notation Element, Flipbox Element and Tilt Image element for security purposes.
     99
    97100= 1.6.60 (2024-10-23) =
    98101* Fix: Before After Image Element Dynamic Image not rendering properly when using repeater field.
Note: See TracChangeset for help on using the changeset viewer.