Skip to content

Commit

Permalink
Merge pull request #108 from liip/fix/rename-blocks
Browse files Browse the repository at this point in the history
fix(): Rename blocks
  • Loading branch information
tschortsch committed May 27, 2022
2 parents 93eac53 + f0897a1 commit 412305c
Show file tree
Hide file tree
Showing 14 changed files with 20 additions and 16 deletions.
2 changes: 1 addition & 1 deletion build/index.asset.php
Original file line number Diff line number Diff line change
@@ -1 +1 @@
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '2a125809b525a250b9ebef8d56322b37');
<?php return array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-editor', 'wp-element', 'wp-hooks', 'wp-i18n'), 'version' => '880a7b58237fe7651d7b3ff82836e11b');
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion languages/wp-bootstrap-blocks-de_CH.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the same license as the Bootstrap Blocks plugin.
msgid ""
msgstr ""
"Project-Id-Version: Bootstrap Blocks 4.2.0\n"
"Project-Id-Version: Bootstrap Blocks 4.2.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-bootstrap-"
"blocks\n"
"POT-Creation-Date: 2022-05-12T07:38:53+00:00\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/wp-bootstrap-blocks-de_DE.po
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the same license as the Bootstrap Blocks plugin.
msgid ""
msgstr ""
"Project-Id-Version: Bootstrap Blocks 4.2.0\n"
"Project-Id-Version: Bootstrap Blocks 4.2.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-bootstrap-"
"blocks\n"
"POT-Creation-Date: 2022-05-12T07:38:53+00:00\n"
Expand Down
2 changes: 1 addition & 1 deletion languages/wp-bootstrap-blocks.pot
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
# This file is distributed under the GPL2+.
msgid ""
msgstr ""
"Project-Id-Version: Bootstrap Blocks 4.2.0\n"
"Project-Id-Version: Bootstrap Blocks 4.2.1\n"
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/wp-bootstrap-blocks\n"
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
"Language-Team: LANGUAGE <LL@li.org>\n"
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": "wp-bootstrap-blocks",
"version": "4.2.0",
"version": "4.2.1",
"private": true,
"description": "Bootstrap Gutenberg Blocks for WordPress",
"author": "Liip AG",
Expand Down
8 changes: 6 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Tags: gutenberg, blocks, bootstrap
Requires at least: 5.0
Tested up to: 6.0
Requires PHP: 5.6
Stable tag: 4.2.0
Stable tag: 4.2.1
License: GPLv2
License URI: https://www.gnu.org/licenses/gpl-2.0.html

Expand Down Expand Up @@ -143,11 +143,15 @@ Please create a new GitHub issue and let us know: [https://github.com/liip/boots

== Changelog ==

= 4.2.0 =
= 4.2.1 =

**NOTICE:** Version 4.x of the plugin will be the last version to support WordPress versions lower than 5.3.
If you're on a lower version of WordPress think about updating it if you still would like receive updates for this plugin.

* [FIX] Rename blocks to `<Blockname> (Bootstrap)` for better discoverability when searching for a block.

= 4.2.0 =

* [FEATURE] Reflect noGutters and horizontalGutters options visually in editor (WordPress >= 5.4).
* [CHANGE] Add missing "Medium" size to vertical gutter options. If you're using the [`wpBootstrapBlocks.row.verticalGuttersOptions`](https://github.com/liip/bootstrap-blocks-wordpress-plugin#wpbootstrapblocksrowverticalguttersoptions) JavaScript filter to modify the options please check if the new option (`gy-4`) doesn't conflict with your custom options.
* [FIX] Fix label of default css grid gutter option ("Medium" instead of "None").
Expand Down
2 changes: 1 addition & 1 deletion src/button/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import './editor.scss';

registerBlockType( 'wp-bootstrap-blocks/button', {
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
title: __( 'Bootstrap Button', 'wp-bootstrap-blocks' ), // Block title.
title: __( 'Button (Bootstrap)', 'wp-bootstrap-blocks' ), // Block title.
icon: button,
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion src/class-wp-bootstrap-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ class WP_Bootstrap_Blocks {
*
* @var string
*/
public static $version = '4.2.0';
public static $version = '4.2.1';

/**
* The plugin token.
Expand Down
2 changes: 1 addition & 1 deletion src/column/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp

registerBlockType( 'wp-bootstrap-blocks/column', {
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
title: __( 'Bootstrap Column', 'wp-bootstrap-blocks' ), // Block title.
title: __( 'Column (Bootstrap)', 'wp-bootstrap-blocks' ), // Block title.
icon: column, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion src/container/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp

registerBlockType( 'wp-bootstrap-blocks/container', {
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
title: __( 'Bootstrap Container', 'wp-bootstrap-blocks' ), // Block title.
title: __( 'Container (Bootstrap)', 'wp-bootstrap-blocks' ), // Block title.
icon: stack,
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion src/row/block.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ const { InnerBlocks } = BlockEditor || Editor; // Fallback to deprecated '@wordp

registerBlockType( 'wp-bootstrap-blocks/row', {
// Block name. Block names must be string that contains a namespace prefix. Example: my-plugin/my-custom-block.
title: __( 'Bootstrap Row', 'wp-bootstrap-blocks' ), // Block title.
title: __( 'Row (Bootstrap)', 'wp-bootstrap-blocks' ), // Block title.
icon: columns, // Block icon from Dashicons → https://developer.wordpress.org/resource/dashicons/.
category: 'wp-bootstrap-blocks', // Block category — Group blocks together based on common traits E.g. common, formatting, layout widgets, embed.
keywords: [
Expand Down
2 changes: 1 addition & 1 deletion wp-bootstrap-blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
* Description: Bootstrap Gutenberg Blocks for WordPress.
* Author: Liip AG
* Author URI: https://liip.ch
* Version: 4.2.0
* Version: 4.2.1
* License: GPL2+
* License URI: https://www.gnu.org/licenses/gpl-2.0.txt
* Text Domain: wp-bootstrap-blocks
Expand Down

0 comments on commit 412305c

Please sign in to comment.