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 .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@ jobs:
git config --local user.name "$(git log --format='%an' HEAD^!)"

echo "Creating branch"
git checkout -b release/{$VERSION}
git checkout -b release/${VERSION}

echo "Creating tag ${VERSION}"
git add .
Expand Down
2 changes: 1 addition & 1 deletion .plugin-data
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"version": "1.1.0",
"version": "1.1.1",
"slug": "multisite-shared-blocks"
}
3 changes: 3 additions & 0 deletions includes/Gutenberg/SharedBlocksAttributes.php
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,9 @@ public function register_editor_assets(): void {
true
);

// Load translations.
wp_set_script_translations( self::SHARED_BLOCK_SCRIPT_HANDLE, 'multisite-shared-blocks' );

// Register additional configuration data for the script to be print before the script tag.
wp_add_inline_script(
self::SHARED_BLOCK_SCRIPT_HANDLE,
Expand Down
4 changes: 2 additions & 2 deletions multisite-shared-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
* Plugin Name: Multisite Shared Blocks
* Plugin URI: https://github.com/BeAPI/multisite-shared-blocks
* Description: Share blocks between network's sites.
* Version: 1.1.0
* Version: 1.1.1
* Requires at least: 5.9
* Requires PHP: 7.2
* Author: Be API Technical team
Expand Down Expand Up @@ -31,7 +31,7 @@
}

// Plugin constants
define( 'MULTISITE_SHARED_BLOCKS_VERSION', '1.1.0' );
define( 'MULTISITE_SHARED_BLOCKS_VERSION', '1.1.1' );
define( 'MULTISITE_SHARED_BLOCKS_CACHE_VERSION', '1' );
define( 'MULTISITE_SHARED_BLOCKS_VIEWS_FOLDER_NAME', 'multisite-shared-blocks' );

Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "multisite-shared-blocks",
"version": "1.1.0",
"version": "1.1.1",
"description": "Share blocks between network's sites.",
"main": "build/index.js",
"scripts": {
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors: beapi, momo360modena, rahe, asadowski10, petitphp
Tags: network, multisite, block, share, gutenberg
Requires at least: 5.9
Tested up to: 6.4
Stable tag: 1.1.0
Stable tag: 1.1.1
Requires PHP: 7.2
License: GPL v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand All @@ -26,6 +26,9 @@ This plugin allow contributors to share blocks from posts on the network. Other

== Changelog ==

= 1.1.1 - 2024-03-29 =
* Load translations for editor script

= 1.1.0 - 2023-11-21 =
* Fix case where wpautop could be applyied more than one time on content
* Fix errors with WP 6.4
Expand Down
2 changes: 1 addition & 1 deletion src/blocks/shared-block/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": 2,
"name": "multisite-shared-blocks/shared-block",
"version": "1.1.0",
"version": "1.1.1",
"title": "Shared Block",
"category": "design",
"description": "",
Expand Down