diff --git a/.github/workflows/test-e2e.yml b/.github/workflows/test-e2e.yml index 1d035cdeb..a50a3364f 100755 --- a/.github/workflows/test-e2e.yml +++ b/.github/workflows/test-e2e.yml @@ -14,7 +14,7 @@ jobs: DOCKER_FILE: docker-compose.ci.yml strategy: fail-fast: false - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 steps: - uses: actions/checkout@v2 - uses: actions/setup-node@v2 diff --git a/.github/workflows/test-php.yml b/.github/workflows/test-php.yml index 417d580fa..595a1850e 100755 --- a/.github/workflows/test-php.yml +++ b/.github/workflows/test-php.yml @@ -36,7 +36,7 @@ jobs: phpunit: name: PHPUnit - runs-on: ubuntu-latest + runs-on: ubuntu-22.04 services: mysql: image: mysql:5.7 diff --git a/CHANGELOG.md b/CHANGELOG.md index 210956e64..c1f94c7c3 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +##### [Version 3.11.9](https://github.com/Codeinwp/visualizer/compare/v3.11.8...v3.11.9) (2025-02-13) + +- Enhanced security +- Fixed extra column issue with a simple editor + ##### [Version 3.11.8](https://github.com/Codeinwp/visualizer/compare/v3.11.7...v3.11.8) (2024-11-13) - Updated WordPress core tested up to version diff --git a/classes/Visualizer/Plugin.php b/classes/Visualizer/Plugin.php index c2d43d9d6..1be0c4f4e 100644 --- a/classes/Visualizer/Plugin.php +++ b/classes/Visualizer/Plugin.php @@ -28,7 +28,7 @@ class Visualizer_Plugin { const NAME = 'visualizer'; - const VERSION = '3.11.8'; + const VERSION = '3.11.9'; // custom post types const CPT_VISUALIZER = 'visualizer'; diff --git a/classes/Visualizer/Source.php b/classes/Visualizer/Source.php index afaf60201..03e7c99ad 100644 --- a/classes/Visualizer/Source.php +++ b/classes/Visualizer/Source.php @@ -429,7 +429,7 @@ private function _fetchSeriesFromEditableTable() { foreach ( $headers as $header ) { if ( ! empty( $types[ $header ] ) ) { $this->_series[] = array( - 'label' => $header, + 'label' => esc_html( wp_strip_all_tags( $header ) ), 'type' => $types[ $header ], ); } diff --git a/classes/Visualizer/Source/Csv.php b/classes/Visualizer/Source/Csv.php index 5fca4e435..461fd8dbf 100644 --- a/classes/Visualizer/Source/Csv.php +++ b/classes/Visualizer/Source/Csv.php @@ -97,7 +97,7 @@ private function _fetchSeries( &$handle ) { $labels[ $i ] = $this->toUTF8( $labels[ $i ] ); $this->_series[] = array( - 'label' => $labels[ $i ], + 'label' => esc_html( wp_strip_all_tags( $labels[ $i ] ) ), 'type' => isset( $types[ $i ] ) ? $types[ $i ] : $default_type, ); } diff --git a/composer.lock b/composer.lock index 94841a5fd..142f29d1f 100644 --- a/composer.lock +++ b/composer.lock @@ -8,16 +8,16 @@ "packages": [ { "name": "codeinwp/themeisle-sdk", - "version": "3.3.37", + "version": "3.3.41", "source": { "type": "git", "url": "https://github.com/Codeinwp/themeisle-sdk.git", - "reference": "73e9010fb4e30ad8835f00a0df802733f98c4094" + "reference": "b194c872933882f4e5780eae56c59698d01623fc" }, "dist": { "type": "zip", - "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/73e9010fb4e30ad8835f00a0df802733f98c4094", - "reference": "73e9010fb4e30ad8835f00a0df802733f98c4094", + "url": "https://api.github.com/repos/Codeinwp/themeisle-sdk/zipball/b194c872933882f4e5780eae56c59698d01623fc", + "reference": "b194c872933882f4e5780eae56c59698d01623fc", "shasum": "" }, "require-dev": { @@ -43,9 +43,9 @@ ], "support": { "issues": "https://github.com/Codeinwp/themeisle-sdk/issues", - "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.37" + "source": "https://github.com/Codeinwp/themeisle-sdk/tree/v3.3.41" }, - "time": "2024-11-06T14:44:53+00:00" + "time": "2025-02-05T10:30:34+00:00" }, { "name": "neitanod/forceutf8", diff --git a/css/media.css b/css/media.css index 198676b64..5178ea070 100644 --- a/css/media.css +++ b/css/media.css @@ -1,5 +1,5 @@ /* - Version: 3.11.8 + Version: 3.11.9 */ #visualizer-library-view { padding: 30px 10px 10px 30px; diff --git a/index.php b/index.php index ba9a29382..b5cdea884 100644 --- a/index.php +++ b/index.php @@ -3,7 +3,7 @@ Plugin Name: Visualizer: Tables and Charts for WordPress Plugin URI: https://themeisle.com/plugins/visualizer-charts-and-graphs/ Description: Effortlessly create and embed responsive charts and tables with Visualizer, a powerful WordPress plugin that enhances data presentation from multiple sources. - Version: 3.11.8 + Version: 3.11.9 Author: Themeisle Author URI: http://themeisle.com License: GPL v2.0 or later diff --git a/js/simple-editor.js b/js/simple-editor.js index 91c7c5c8c..109b486df 100644 --- a/js/simple-editor.js +++ b/js/simple-editor.js @@ -90,6 +90,7 @@ $( '#canvas' ).css("z-index", "-100").hide(); }else{ $('#canvas').lock(); + jQuery('.dataTables_scrollBody .sorting_disabled input').attr('disabled', true); $('#table-editor-form').submit(); // showing the chart diff --git a/package.json b/package.json index 953722310..620b29e8a 100755 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "visualizer", - "version": "3.11.8", + "version": "3.11.9", "description": "Visualizer Lite", "repository": { "type": "git", diff --git a/readme.md b/readme.md index c944973bf..29a81c1f8 100755 --- a/readme.md +++ b/readme.md @@ -223,6 +223,14 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have ` ## Changelog ## +##### [Version 3.11.9](https://github.com/Codeinwp/visualizer/compare/v3.11.8...v3.11.9) (2025-02-13) + +- Enhanced security +- Fixed extra column issue with a simple editor + + + + ##### [Version 3.11.8](https://github.com/Codeinwp/visualizer/compare/v3.11.7...v3.11.8) (2024-11-13) - Updated WordPress core tested up to version diff --git a/readme.txt b/readme.txt index e0b0dcbe9..d06dadf95 100755 --- a/readme.txt +++ b/readme.txt @@ -223,6 +223,14 @@ Pay attention that to turn your shortcodes into graphs, your theme has to have ` == Changelog == +##### [Version 3.11.9](https://github.com/Codeinwp/visualizer/compare/v3.11.8...v3.11.9) (2025-02-13) + +- Enhanced security +- Fixed extra column issue with a simple editor + + + + ##### [Version 3.11.8](https://github.com/Codeinwp/visualizer/compare/v3.11.7...v3.11.8) (2024-11-13) - Updated WordPress core tested up to version