OSDN Git Service

Verbosity when the rewrite structure is set
authorDaniel Bachhuber <d@danielbachhuber.com>
Sun, 6 Oct 2013 13:07:37 +0000 (13:07 +0000)
committerDaniel Bachhuber <d@danielbachhuber.com>
Sun, 6 Oct 2013 13:07:37 +0000 (13:07 +0000)
php/commands/rewrite.php

index 27888bd..fab148c 100644 (file)
@@ -86,6 +86,7 @@ class Rewrite_Command extends WP_CLI_Command {
                // make sure we detect mod_rewrite if configured in apache_modules in config
                self::apache_modules();
                flush_rewrite_rules( isset( $assoc_args['hard'] ) );
+               WP_CLI::success( "Rewrite structure set." );
        }
 
        /**