Skip to content

Commit aa43878

Browse files
authored
Merge pull request #12 from BeAPI/ver/1.1.1
Release 1.1.1
2 parents 62bef7d + afb46fa commit aa43878

File tree

8 files changed

+15
-9
lines changed

8 files changed

+15
-9
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ jobs:
6868
git config --local user.name "$(git log --format='%an' HEAD^!)"
6969
7070
echo "Creating branch"
71-
git checkout -b release/{$VERSION}
71+
git checkout -b release/${VERSION}
7272
7373
echo "Creating tag ${VERSION}"
7474
git add .

.plugin-data

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
{
2-
"version": "1.1.0",
2+
"version": "1.1.1",
33
"slug": "multisite-shared-blocks"
44
}

includes/Gutenberg/SharedBlocksAttributes.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -99,6 +99,9 @@ public function register_editor_assets(): void {
9999
true
100100
);
101101

102+
// Load translations.
103+
wp_set_script_translations( self::SHARED_BLOCK_SCRIPT_HANDLE, 'multisite-shared-blocks' );
104+
102105
// Register additional configuration data for the script to be print before the script tag.
103106
wp_add_inline_script(
104107
self::SHARED_BLOCK_SCRIPT_HANDLE,

multisite-shared-blocks.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* Plugin Name: Multisite Shared Blocks
44
* Plugin URI: https://github.com/BeAPI/multisite-shared-blocks
55
* Description: Share blocks between network's sites.
6-
* Version: 1.1.0
6+
* Version: 1.1.1
77
* Requires at least: 5.9
88
* Requires PHP: 7.2
99
* Author: Be API Technical team
@@ -31,7 +31,7 @@
3131
}
3232

3333
// Plugin constants
34-
define( 'MULTISITE_SHARED_BLOCKS_VERSION', '1.1.0' );
34+
define( 'MULTISITE_SHARED_BLOCKS_VERSION', '1.1.1' );
3535
define( 'MULTISITE_SHARED_BLOCKS_CACHE_VERSION', '1' );
3636
define( 'MULTISITE_SHARED_BLOCKS_VIEWS_FOLDER_NAME', 'multisite-shared-blocks' );
3737

package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "multisite-shared-blocks",
3-
"version": "1.1.0",
3+
"version": "1.1.1",
44
"description": "Share blocks between network's sites.",
55
"main": "build/index.js",
66
"scripts": {

readme.txt

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ Contributors: beapi, momo360modena, rahe, asadowski10, petitphp
33
Tags: network, multisite, block, share, gutenberg
44
Requires at least: 5.9
55
Tested up to: 6.4
6-
Stable tag: 1.1.0
6+
Stable tag: 1.1.1
77
Requires PHP: 7.2
88
License: GPL v2 or later
99
License URI: https://www.gnu.org/licenses/gpl-2.0.html
@@ -26,6 +26,9 @@ This plugin allow contributors to share blocks from posts on the network. Other
2626

2727
== Changelog ==
2828

29+
= 1.1.1 - 2024-03-29 =
30+
* Load translations for editor script
31+
2932
= 1.1.0 - 2023-11-21 =
3033
* Fix case where wpautop could be applyied more than one time on content
3134
* Fix errors with WP 6.4

src/blocks/shared-block/block.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"$schema": "https://schemas.wp.org/trunk/block.json",
33
"apiVersion": 2,
44
"name": "multisite-shared-blocks/shared-block",
5-
"version": "1.1.0",
5+
"version": "1.1.1",
66
"title": "Shared Block",
77
"category": "design",
88
"description": "",

0 commit comments

Comments
 (0)