From 94b3f007b6cde78ba2dc5576340645e9816d717d Mon Sep 17 00:00:00 2001 From: Roni Laukkarinen Date: Thu, 18 Apr 2024 16:39:48 +0300 Subject: [PATCH] Release version 1.1.4 of the `newthem` starting script: Use phpcs.xml from devpackages 2.5.6 (2024-04-18) --- CHANGELOG.md | 6 ++++-- README.md | 4 ++-- bin/newtheme.sh | 2 +- bin/tasks/additions.sh | 4 ++-- bin/tasks/project.sh | 1 + functions.php | 2 +- package-lock.json | 2 +- package.json | 2 +- readme.txt | 4 ++-- style.css | 8 ++++---- 10 files changed, 19 insertions(+), 16 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 327d9078..5e2118be 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ -### 9.4.1rc: 2024-03-13 +### 9.4.1: 2024-04-18 * Clarify sticky nav functionality presented in 7.9.1, Fixes #213 (thanks @semidivine!) +* Release version 1.1.4 of the `newthem` starting script: Use phpcs.xml from devpackages 2.5.6 (2024-04-18) +* Bump tested WordPress version to 6.5.2 ### 9.4.0: 2024-02-26 @@ -1032,7 +1034,7 @@ This release includes only form style and accessibility improvements. * Add Laragon support #92 (thank you @divn!) * New theme script dependencies partial: Gulp styles to later stage -* Release version 1.0.5 of newtheme starting scripts +* Release version 1.0.5 of newtheme starting scripts ### 7.1.3: 2021-04-15 diff --git a/README.md b/README.md index 86ead040..43c13535 100644 --- a/README.md +++ b/README.md @@ -249,9 +249,9 @@ Starting from v2.6.0 WooCommerce support comes with [Air helper](https://github. ### Requirements -* PHP >= 7.4 +* PHP >= 8.3 * Requires at least: WordPress 4.7.1 -* Tested up to WordPress 6.4.3 +* Tested up to WordPress 6.5.2 ### Recommendations for development diff --git a/bin/newtheme.sh b/bin/newtheme.sh index 6306f5f5..bc123869 100644 --- a/bin/newtheme.sh +++ b/bin/newtheme.sh @@ -7,7 +7,7 @@ # Script specific vars SCRIPT_LABEL='for macOS' -SCRIPT_VERSION='1.1.3 (2023-09-12)' +SCRIPT_VERSION='1.1.4 (2024-04-18)' # Vars needed for this file to function globally CURRENTFILE=`basename $0` diff --git a/bin/tasks/additions.sh b/bin/tasks/additions.sh index ebdf4027..fb126b41 100644 --- a/bin/tasks/additions.sh +++ b/bin/tasks/additions.sh @@ -10,8 +10,8 @@ chmod 777 ${PROJECT_PATH}/media echo "${YELLOW}Generating default README.md...${TXTRESET}" -NEWEST_AIR_VERSION="9.4.0" -NEWEST_WORDPRESS_VERSION="6.4.3" +NEWEST_AIR_VERSION="9.4.1" +NEWEST_WORDPRESS_VERSION="6.5.2" NEWEST_PHP_VERSION="8.3" CURRENT_DATE=$(LC_TIME=en_US date '+%d %b %Y' |tr ' ' '_'); echo "# ${PROJECT_NAME} diff --git a/bin/tasks/project.sh b/bin/tasks/project.sh index 0fc96535..70819566 100644 --- a/bin/tasks/project.sh +++ b/bin/tasks/project.sh @@ -17,3 +17,4 @@ sed -e "s/\THEMENAME/${THEME_NAME}/" -e "s/\THEMENAME/${THEME_NAME}/" -e "s/\THE rm ${PROJECT_PATH}/gulp/config.js sed -e "s/\PROJECTNAME/${PROJECT_NAME}/" -e "s/\PROJECTNAME/${PROJECT_NAME}/" -e "s/\PROJECTNAME/${PROJECT_NAME}/" ${PROJECT_PATH}/gulp/config2.js > ${PROJECT_PATH}/gulp/config.js rm ${PROJECT_PATH}/gulp/config2.js +sed -e "s/\PROJECTNAME/${PROJECT_NAME}/" ${PROJECT_PATH}/devpackages/phpcs.xml > ${PROJECT_PATH}/phpcs.xml diff --git a/functions.php b/functions.php index c045685a..c8bfa4eb 100644 --- a/functions.php +++ b/functions.php @@ -17,7 +17,7 @@ /** * The current version of the theme. */ -define( 'AIR_LIGHT_VERSION', '9.4.0' ); +define( 'AIR_LIGHT_VERSION', '9.4.1' ); // We need to have some defaults as comments or empties so let's allow this: // phpcs:disable Squiz.Commenting.InlineComment.SpacingBefore, WordPress.Arrays.ArrayDeclarationSpacing.SpaceInEmptyArray diff --git a/package-lock.json b/package-lock.json index a6b210a0..da968676 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "air-light", - "version": "9.4.0", + "version": "9.4.1", "lockfileVersion": 3, "requires": true, "packages": { diff --git a/package.json b/package.json index 5750aa5e..7d793415 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "air-light", - "version": "9.4.0", + "version": "9.4.1", "description": "A minimalist WordPress starter theme.", "author": "Digitoimisto Dude Oy (moro@dude.fi)", "devDependencies": { diff --git a/readme.txt b/readme.txt index b61677ec..3ba2e13b 100644 --- a/readme.txt +++ b/readme.txt @@ -11,8 +11,8 @@ Contributors: Digitoimisto Dude Oy Tags: one-column, accessibility-ready, translation-ready Requires at least: 5.0 -Tested up to: 6.4.3 -Stable tag: 9.3.5 +Tested up to: 6.5.2 +Stable tag: 9.4.1 License: MIT License License URI: https://opensource.org/licenses/MIT diff --git a/style.css b/style.css index 164f4060..dd0f256b 100644 --- a/style.css +++ b/style.css @@ -4,7 +4,7 @@ Theme URI: https://github.com/digitoimistodude/air-light Author: Digitoimisto Dude Oy Author URI: https://www.dude.fi Description: Hi. I'm a starter theme called Air-light, or air, if you like. I'm a theme based on Automattic's underscores and I'm meant for hacking so don't use me as a Parent Theme as-is. Instead try turning me into the next, most awesome, WordPress theme out there. That's what I'm here for. -Version: 9.4.0 +Version: 9.4.1 ------8<---------- Please do this before your actual theme is ready to go live: @@ -20,11 +20,11 @@ If you see this, contact the site admin. /*--------------------------------------------------------------- >>> Air-light theme version information, only for AIR developers ----------------------------------------------------------------- -@version 2024-02-26 +@version 2024-04-18 @since 2016-01-28 -Tested up to: 6.4.3 -Requires PHP: 7.4 +Tested up to: 6.5.2 +Requires PHP: 8.3 License: MIT License License URI: LICENSE Text Domain: air-light