Skip to content

Commit

Permalink
push version 1.3.2
Browse files Browse the repository at this point in the history
  • Loading branch information
mircobabini committed Aug 30, 2021
1 parent d479884 commit b486743
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions command.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@

class Swim_WP_CLI extends WP_CLI_Command {
// todo move the version to the "package meta" docblock
const VERSION = '1.3.1';
const VERSION = '1.3.2';

/**
* A test which always gives success and the current version.
Expand Down Expand Up @@ -81,8 +81,7 @@ public function archive( array $args = [], array $assoc_args = [] ) {
* @subcommand to-www
*/
public function to_www( array $args = [], array $assoc_args = [] ) {
// todo run autoperm
WP_CLI::warning( "Implement autoperm here..." );
self::autoperm();

$source_domain = parse_url( get_site_url(), PHP_URL_HOST );
$source_domain = ltrim( $source_domain, 'www.' );
Expand Down Expand Up @@ -138,8 +137,7 @@ public function to_www( array $args = [], array $assoc_args = [] ) {
* @subcommand to-https
*/
public function to_https( array $args = [], array $assoc_args = [] ) {
// todo run autoperm
WP_CLI::warning( "Implement autoperm here..." );
self::autoperm();

$source_domain = parse_url( get_site_url(), PHP_URL_HOST );
$source_domain = ltrim( $source_domain, 'www.' );
Expand Down

0 comments on commit b486743

Please sign in to comment.