From 60e2a0e866c952a5dfc427df0bbeec18d4b885c8 Mon Sep 17 00:00:00 2001 From: Micah Wood <micah@wpscholar.com> Date: Thu, 6 Jan 2022 10:17:41 -0500 Subject: [PATCH] Revert change, as bug was related to another issue --- includes/Commands/MakeCommand.php | 4 ---- 1 file changed, 4 deletions(-) diff --git a/includes/Commands/MakeCommand.php b/includes/Commands/MakeCommand.php index 62c2a6d..c496926 100644 --- a/includes/Commands/MakeCommand.php +++ b/includes/Commands/MakeCommand.php @@ -109,10 +109,6 @@ protected function setTemplate() { $path = array_pop( $parts ); $namespace = $this->registry()->get( 'namespace', data_get( $parts, '0', 'default' ) ); - if ( empty( $namespace ) ) { - $namespace = 'default'; - } - if ( ! $this->registry()->has( 'namespace' ) ) { $this->registry()->set( 'namespace', $namespace ); }