Skip to content

Commit

Permalink
Release 1.3.7
Browse files Browse the repository at this point in the history
  • Loading branch information
ronilaukkarinen committed Jan 6, 2023
1 parent cbbbe6a commit 264b1d4
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
### [Unreleased]
### 1.3.7: 2022-01-06

* `newblock`: Add `content-image` block
* `newblock`: Add `icon-content-columns` block
Expand Down
14 changes: 7 additions & 7 deletions bin/blocks/icon-content-columns.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@ cp -nv "${AIRBLOCKS_THEME_PATH}/inc/hooks/admin/acf-dynamic-icon-select.php" "${
if ! grep -q "acf-dynamic-icon-select" "${PROJECT_THEME_PATH}/functions.php"; then
echo "Adding acf-dynamic-icon-select to functions.php"
echo "
/**
* Dynamic svg icon select
*/
require get_theme_file_path( 'inc/hooks/admin/acf-dynamic-icon-select.php' );
add_filter( 'acf/load_field/type=select', __NAMESPACE__ . '\acf_dynamic_select_for_icon' );
add_action( 'acf/input/admin_head', __NAMESPACE__ . '\improved_acf_svg_selector_ui_styles' );
" >> "${PROJECT_THEME_PATH}/functions.php"
/**
* Dynamic svg icon select
*/
require get_theme_file_path( 'inc/hooks/admin/acf-dynamic-icon-select.php' );
add_filter( 'acf/load_field/type=select', __NAMESPACE__ . '\acf_dynamic_select_for_icon' );
add_action( 'acf/input/admin_head', __NAMESPACE__ . '\improved_acf_svg_selector_ui_styles' );
" >> "${PROJECT_THEME_PATH}/functions.php"
fi
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "air-blocks",
"version": "1.3.6",
"version": "1.3.7",
"description": "Gutenberg block library powered by Air-light & dudestack.",
"author": "Digitoimisto Dude Oy (moro@dude.fi)",
"devDependencies": {
Expand Down

0 comments on commit 264b1d4

Please sign in to comment.