Skip to content

Commit

Permalink
Revert change, as bug was related to another issue
Browse files Browse the repository at this point in the history
  • Loading branch information
wpscholar committed Jan 6, 2022
1 parent eb6242d commit 60e2a0e
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions includes/Commands/MakeCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -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 );
}
Expand Down

0 comments on commit 60e2a0e

Please sign in to comment.