Skip to content

Commit

Permalink
patch block name
Browse files Browse the repository at this point in the history
  • Loading branch information
Chrillaz committed Nov 2, 2020
1 parent a35431d commit 19b7243
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion blocks.php
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
/**
* Plugin Name: Noor Blocks
* Description: Collection of custom blocks.
* Version: 1.1.4
* Version: 1.1.5
* Author: Noor Digital Agency
* Author URI: https://noordigital.com
* Text Domain: blocks
Expand Down
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('index.js' => array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => 'b272959f1e9ea39ae01ce48f310d8aa3'), 'accordion.js' => array('dependencies' => array('wp-polyfill'), 'version' => '667f7b37f3c5299d2fe9a3111cca5cee'));
<?php return array('index.js' => array('dependencies' => array('wp-block-editor', 'wp-blocks', 'wp-components', 'wp-compose', 'wp-data', 'wp-element', 'wp-hooks', 'wp-i18n', 'wp-polyfill'), 'version' => '2da94a544408b91c3d45dc4074651b37'), 'accordion.js' => array('dependencies' => array('wp-polyfill'), 'version' => '667f7b37f3c5299d2fe9a3111cca5cee'));
2 changes: 1 addition & 1 deletion build/index.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ Contributors:
Tags: block
Requires at least: 5.3.2
Tested up to: 5.4.1
Stable tag: 1.1.4
Stable tag: 1.1.5
Requires PHP: 7.0.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -56,7 +56,7 @@ directory take precedence. For example, `/assets/screenshot-1.png` would win ove

1. Added global block control for media query display

* Patch 1.1.4
* Patch 1.1.5

1. Added button attrs to wp-bootstrap-blocks button block

Expand Down
2 changes: 1 addition & 1 deletion src/filters/attributes.js
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ export const attributes = (settings, name) => {
}

// wp-bootstrap-blocks plugin
if ( 'wp-bootstrap-blocks' === name ) {
if ( 'wp-bootstrap-blocks/button' === name ) {

Object.assign(settings.attributes, {
...inlineIconAttributes,
Expand Down
2 changes: 1 addition & 1 deletion src/filters/blockEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ export const blockEdit = compose(
<SmallScreenControl {...props} />
{props.name === 'core/column' && <ColumnBackgrounControl {...props} />}
{props.name === 'core/button' && <ButtonIconControl {...props} />}
{props.name === 'wp-bootstrap-blocks' && <ButtonAllControls {...props} />}
{props.name === 'wp-bootstrap-blocks/button' && <ButtonAllControls {...props} />}
</InspectorControls>
</Fragment>
)
Expand Down

0 comments on commit 19b7243

Please sign in to comment.