From 0f5bc420d21b9fc5c3597ada42cf0b9d5fae23d2 Mon Sep 17 00:00:00 2001 From: Kyle Minto Date: Wed, 16 Nov 2022 14:46:06 +0000 Subject: [PATCH 1/2] Fixed 'Featured Image' block not working Default empty array for post-thumbnails was causing it to not display --- inc/setup.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/setup.php b/inc/setup.php index 8f74d60d..3ac55343 100644 --- a/inc/setup.php +++ b/inc/setup.php @@ -70,7 +70,7 @@ if ( ! function_exists( 'understrap_setup' ) ) { /* * Adding Thumbnail basic support */ - add_theme_support( 'post-thumbnails', array() ); + add_theme_support( 'post-thumbnails' ); /* * Adding support for Widget edit icons in customizer From 93956282c2ef5106e93d66a0c42ea141b2c55a43 Mon Sep 17 00:00:00 2001 From: Brian Coords Date: Thu, 17 Nov 2022 07:06:18 -0800 Subject: [PATCH 2/2] updates assets to 1.2.1 --- .github/CHANGELOG.md | 7 ++++++- inc/editor-color-palette.json | 2 +- js/theme-bootstrap4.js | 2 +- js/theme-bootstrap4.min.js | 2 +- js/theme.js | 2 +- js/theme.min.js | 2 +- languages/understrap.pot | 2 +- package-lock.json | 4 ++-- package.json | 2 +- style.css | 2 +- 10 files changed, 16 insertions(+), 11 deletions(-) diff --git a/.github/CHANGELOG.md b/.github/CHANGELOG.md index 2654f61a..d9474b85 100644 --- a/.github/CHANGELOG.md +++ b/.github/CHANGELOG.md @@ -8,6 +8,12 @@ - +## Release 1.2.1 November 17th 2022 + +** Fixes ** + + - Fixes an issue with post thumbnails not being editable + ## Release 1.2.0 November 15th 2022 ** Enhancements ** @@ -36,7 +42,6 @@ - Accessibility: aria role fixes for the carousel and footer widgets area - Translations: Makes aria-labels translatable - ## Release 1.1.0 December 1st 2021 ** Enhancements ** diff --git a/inc/editor-color-palette.json b/inc/editor-color-palette.json index 34917598..5d2030fe 100644 --- a/inc/editor-color-palette.json +++ b/inc/editor-color-palette.json @@ -1 +1 @@ -{"--blue":"#007bff","--indigo":"#6610f2","--purple":"#5533ff","--pink":"#e83e8c","--red":"#dc3545","--orange":"#fd7e14","--yellow":"#ffc107","--green":"#28a745","--teal":"#20c997","--cyan":"#17a2b8","--white":"#fff","--gray":"#6c757d","--gray-dark":"#343a40"} \ No newline at end of file +{"--bs-blue":"#0d6efd","--bs-indigo":"#6610f2","--bs-purple":"#5533ff","--bs-pink":"#d63384","--bs-red":"#dc3545","--bs-orange":"#fd7e14","--bs-yellow":"#ffc107","--bs-green":"#198754","--bs-teal":"#20c997","--bs-cyan":"#0dcaf0","--bs-white":"#fff","--bs-gray":"#6c757d","--bs-gray-dark":"#343a40"} \ No newline at end of file diff --git a/js/theme-bootstrap4.js b/js/theme-bootstrap4.js index 925524cd..2fee418c 100644 --- a/js/theme-bootstrap4.js +++ b/js/theme-bootstrap4.js @@ -1,5 +1,5 @@ /*! - * Understrap v1.2.0 (https://understrap.com) + * Understrap v1.2.1 (https://understrap.com) * Copyright 2013-2022 The UnderStrap Authors (https://github.com/understrap/understrap/graphs/contributors) * Licensed under GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html) */ diff --git a/js/theme-bootstrap4.min.js b/js/theme-bootstrap4.min.js index 63bd5f7c..8058a3b9 100644 --- a/js/theme-bootstrap4.min.js +++ b/js/theme-bootstrap4.min.js @@ -1,5 +1,5 @@ /*! - * Understrap v1.2.0 (https://understrap.com) + * Understrap v1.2.1 (https://understrap.com) * Copyright 2013-2022 The UnderStrap Authors (https://github.com/understrap/understrap/graphs/contributors) * Licensed under GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html) */ diff --git a/js/theme.js b/js/theme.js index ebc54beb..22b6ce3a 100644 --- a/js/theme.js +++ b/js/theme.js @@ -1,5 +1,5 @@ /*! - * Understrap v1.2.0 (https://understrap.com) + * Understrap v1.2.1 (https://understrap.com) * Copyright 2013-2022 The UnderStrap Authors (https://github.com/understrap/understrap/graphs/contributors) * Licensed under GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html) */ diff --git a/js/theme.min.js b/js/theme.min.js index f07f5f8a..e34fdf6d 100644 --- a/js/theme.min.js +++ b/js/theme.min.js @@ -1,5 +1,5 @@ /*! - * Understrap v1.2.0 (https://understrap.com) + * Understrap v1.2.1 (https://understrap.com) * Copyright 2013-2022 The UnderStrap Authors (https://github.com/understrap/understrap/graphs/contributors) * Licensed under GPL-3.0 (https://www.gnu.org/licenses/gpl-3.0.html) */ diff --git a/languages/understrap.pot b/languages/understrap.pot index d99a5667..0f910331 100644 --- a/languages/understrap.pot +++ b/languages/understrap.pot @@ -2,7 +2,7 @@ # This file is distributed under the GNU General Public License v3 or later. msgid "" msgstr "" -"Project-Id-Version: Understrap 1.2.0\n" +"Project-Id-Version: Understrap 1.2.1\n" "Report-Msgid-Bugs-To: https://wordpress.org/support/theme/understrap\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" diff --git a/package-lock.json b/package-lock.json index 3a18660b..a9aa55b3 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "understrap", - "version": "1.2.0", + "version": "1.2.1", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "understrap", - "version": "1.2.0", + "version": "1.2.1", "license": "GPL-3.0", "devDependencies": { "@babel/core": "^7.19.6", diff --git a/package.json b/package.json index 7b596fd3..0f04ecd3 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "understrap", - "version": "1.2.0", + "version": "1.2.1", "description": "WordPress Theme framework", "main": "index.js", "scripts": { diff --git a/style.css b/style.css index 4ffe9c90..0d40514f 100644 --- a/style.css +++ b/style.css @@ -5,7 +5,7 @@ Author: Howard Development & Consulting Author URI: https://howarddc.com GitHub Theme URI: https://github.com/understrap/understrap Description: The renowned WordPress starter theme framework that combined Underscores and Bootstrap. Trusted by more than 100,000 developers for building handcrafted, custom WordPress sites. -Version: 1.2.0 +Version: 1.2.1 Requires at least: 5.0 Tested up to: 6.1 Requires PHP: 5.2