Skip to content

Commit 5740309

Browse files
authored
πŸš€ chore(release): bump WPBones to ^1.11.1 and align version to 1.11.1 (#1)
1 parent f9a756a commit 5740309

6 files changed

Lines changed: 20 additions & 17 deletions

File tree

β€Žbonesβ€Ž

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -708,7 +708,7 @@ namespace Bones {
708708
define('WPBONES_MINIMAL_PHP_VERSION', '7.4');
709709

710710
/* MARK: The WP Bones command line version. */
711-
define('WPBONES_COMMAND_LINE_VERSION', '1.11.0');
711+
define('WPBONES_COMMAND_LINE_VERSION', '1.11.1');
712712

713713
use Bones\SemVer\Exceptions\InvalidVersionException;
714714
use Bones\SemVer\Version;
@@ -790,8 +790,14 @@ namespace Bones {
790790
{
791791
$arguments = $this->arguments();
792792

793-
// load the console kernel
794-
$this->loadKernel();
793+
// Load the console kernel β€” skip for `rename`, which is the bootstrap
794+
// command that brings vendor/plugin namespaces into sync. Loading the
795+
// kernel here would resolve the plugin's Console\Kernel parent class
796+
// against the freshly reinstalled vendor (still on the default
797+
// `WPKirk\WPBones\...` prefix) and fatal with "class not found".
798+
if (!in_array('rename', $arguments, true)) {
799+
$this->loadKernel();
800+
}
795801

796802
// Check WP-CLI
797803
$output = shell_exec('wp --info 2>&1');

β€Žcomposer.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
},
2121
"require": {
2222
"php": ">=7.4",
23-
"wpbones/wpbones": "dev-master",
23+
"wpbones/wpbones": "^1.11.1",
2424
"wpbones/wpkirk-helpers": "~2.0"
2525
},
2626
"autoload": {

β€Žcomposer.lockβ€Ž

Lines changed: 7 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

β€Žpackage.jsonβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@wpbones/wpkirk",
3-
"version": "1.6.0",
3+
"version": "1.11.1",
44
"scripts": {
55
"start:gulp": "gulp watch",
66
"build:gulp": "gulp build",

β€Žreadme.txtβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ Donate link: https://wpbones.com/
44
Tags: template, wpbones
55
Requires at least: 6.2
66
Tested up to: 6.6
7-
Stable tag: 1.11.0
7+
Stable tag: 1.11.1
88
License: GPLv2 or later
99
License URI: http://www.gnu.org/licenses/gpl-2.0.html
1010

β€Žwp-kirk.phpβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
* Plugin Name: WP Kirk Routes Boilerplate
55
* Plugin URI: https://github.com/wpbones/WPKirk-Routes-Boilerplate
66
* Description: WP Bones Boilerplate WordPress plugin
7-
* Version: 1.11.0
7+
* Version: 1.11.1
88
* Requires at least: 6.2
99
* Requires PHP: 7.4
1010
* Author: Giovambattista Fazioli

0 commit comments

Comments
Β (0)