Skip to content

Commit

Permalink
replace exit with return
Browse files Browse the repository at this point in the history
  • Loading branch information
kirtangajjar committed Aug 20, 2020
1 parent bd3fb5d commit 39f6a49
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/WordPress.php
Original file line number Diff line number Diff line change
Expand Up @@ -564,7 +564,7 @@ public function info( $args, $assoc_args ) {
$site = (array) Site::find( $this->site_data['site_url'] );
$site = reset( $site );
EE::log( json_encode( $site ) );
exit();
return 0;
}

$ssl = $this->site_data['site_ssl'] ? 'Enabled' : 'Not Enabled';
Expand Down

0 comments on commit 39f6a49

Please sign in to comment.