From: scribu Date: Fri, 19 Apr 2013 21:14:37 +0000 (+0300) Subject: make --parent_theme mandatory X-Git-Tag: v0.10.0~109^2~1 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=1b1be354eee3ad35bbac32d87005479fe7955e3a;p=wvm%2Fwvm.git make --parent_theme mandatory --- diff --git a/php/commands/scaffold.php b/php/commands/scaffold.php index 4b76b6ce..281f97e4 100644 --- a/php/commands/scaffold.php +++ b/php/commands/scaffold.php @@ -151,7 +151,7 @@ class Scaffold_Command extends WP_CLI_Command { * * @subcommand child-theme * - * @synopsis [--theme_name=] [--parent_theme=<title>] [--author=<full-name>] [--author_uri=<http-url>] [--theme_uri=<http-url>] [--activate] + * @synopsis <slug> --parent_theme=<title> [--theme_name=<title>] [--author=<full-name>] [--author_uri=<http-url>] [--theme_uri=<http-url>] [--activate] */ function child_theme( $args, $assoc_args ) { @@ -160,7 +160,6 @@ class Scaffold_Command extends WP_CLI_Command { $data = wp_parse_args( $assoc_args, array( 'theme_name' => ucfirst( $theme_slug ), - 'parent_theme' => 'twentytwelve', 'author' => "Me", 'author_uri' => "", 'theme_uri' => ""