Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .plugin-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.0.1",
"version": "1.0.2",
"slug": "blockparty-icons"
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ This plugin **doesn't run any sanitization on SVGs** before using them. Only use

## Changelog

### 1.0.2 - 2026-02-19

- Add support for WordPress <= 6.8 for ServerSideRender component

### 1.0.1 - 2026-02-19

- Exclude .wp-env directory from export.
Expand Down
4 changes: 2 additions & 2 deletions blockparty-icons.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* Description: Provides blocks in WordPress editor to add custom SVG icons.
* Requires at least: 6.2
* Requires PHP: 8.1
* Version: 1.0.1
* Version: 1.0.2
* Author: Blockparty
* Author URI: https://beapi.fr
* License: GPL-2.0-or-later
Expand All @@ -29,7 +29,7 @@
include_once __DIR__ . '/vendor/autoload.php';
}

define( 'BLOCKPARTY_ICONS_VERSION', '1.0.1' );
define( 'BLOCKPARTY_ICONS_VERSION', '1.0.2' );
define( 'BLOCKPARTY_ICONS_URL', plugin_dir_url( __FILE__ ) );
define( 'BLOCKPARTY_ICONS_DIR', plugin_dir_path( __FILE__ ) );
define( 'BLOCKPARTY_ICONS_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "blockparty-icons",
"version": "1.0.1",
"version": "1.0.2",
"description": "Provides blocks in WordPress editor to add custom SVG icons from your theme.",
"author": "Be API Technical team",
"license": "GPL-2.0-or-later",
Expand Down
2 changes: 1 addition & 1 deletion src/block.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"$schema": "https://schemas.wp.org/trunk/block.json",
"apiVersion": 3,
"name": "blockparty/icon",
"version": "1.0.1",
"version": "1.0.2",
"title": "Icon",
"category": "widgets",
"description": "Easily add custom vector icon to your content.",
Expand Down
4 changes: 3 additions & 1 deletion src/edit.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@
__experimentalUseMultipleOriginColorsAndGradients as useMultipleOriginColorsAndGradients,
} from '@wordpress/block-editor';

import { ServerSideRender } from '@wordpress/server-side-render';
// Support WordPress < 6.9 (default export) and >= 6.9 (named export).
import * as ServerSideRenderModule from '@wordpress/server-side-render';
const ServerSideRender = ServerSideRenderModule.ServerSideRender ?? ServerSideRenderModule.default;

Check failure on line 26 in src/edit.js

View workflow job for this annotation

GitHub Actions / Lint JS

Replace `·` with `⏎↹`

/**
* Lets webpack process CSS, SASS or SCSS files referenced in JavaScript files.
Expand Down
Loading