diff --git a/CHANGELOG.md b/CHANGELOG.md index c93e8ec..82ec705 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,4 +1,4 @@ -### [Unreleased] +### 1.3.7: 2022-01-06 * `newblock`: Add `content-image` block * `newblock`: Add `icon-content-columns` block diff --git a/bin/blocks/icon-content-columns.sh b/bin/blocks/icon-content-columns.sh index babba68..3939298 100644 --- a/bin/blocks/icon-content-columns.sh +++ b/bin/blocks/icon-content-columns.sh @@ -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 diff --git a/package.json b/package.json index 42f286c..3776a76 100644 --- a/package.json +++ b/package.json @@ -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": {