Plugin Directory

Changeset 3411758


Ignore:
Timestamp:
12/05/2025 06:27:42 AM (3 months ago)
Author:
punitv342
Message:

fix: Escape special characters in tab titles to prevent block crash

Location:
blablablocks-tabs-block/trunk
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • blablablocks-tabs-block/trunk/blablablocks-tabs-block.php

    r3408100 r3411758  
    44 * Plugin Name:         BlaBlaBlocks Tabs Block
    55 * Description:         Tabs Block is a WordPress plugin built specifically for the Block Editor, allowing you to create responsive tabs effortlessly.
    6  * Version:             1.1.0
     6 * Version:             1.1.1
    77 * Requires at least:   6.6
    88 * Requires PHP:        7.4
  • blablablocks-tabs-block/trunk/build/tabs/render.php

    r3349524 r3411758  
    7474<div <?php echo wp_kses_data($wrapper_attributes); ?>
    7575    data-wp-interactive="blablablocks-tabs"
    76     data-wp-context='<?php echo wp_json_encode($data_context); ?>'
     76    data-wp-context='<?php echo esc_attr(wp_json_encode($data_context)); ?>'
    7777    data-wp-init="callbacks.initTabs"
    7878    data-wp-watch="callbacks.updateTabBorders">
  • blablablocks-tabs-block/trunk/readme.txt

    r3408100 r3411758  
    55Tested up to:      6.9
    66Requires PHP:      7.4
    7 Stable tag:        1.1.0
     7Stable tag:        1.1.1
    88License:           MIT
    99License URI:       https://opensource.org/licenses/MIT
     
    203203== Changelog ==
    204204
     205= 1.1.1 =
     206* Fix: Escape special characters in tab titles to prevent block crash [#30](https://github.com/lubusIN/blablablocks-tabs-block/pull/30)
     207
    205208= 1.1.0 =
    206209* Fix: Site Editor constantly showing "Review changes" after inserting Tabs block [#27](https://github.com/lubusIN/blablablocks-tabs-block/issues/27)
Note: See TracChangeset for help on using the changeset viewer.