From c292153e47b17f57576728979ea7ac5cc7e5c59a Mon Sep 17 00:00:00 2001 From: Brandon Lavigne Date: Tue, 5 Feb 2013 16:45:44 -0800 Subject: [PATCH] added default timeout and generic theme description from author and theme name. --- php/commands/scaffold.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/php/commands/scaffold.php b/php/commands/scaffold.php index 4597a7c7..bb7f473a 100644 --- a/php/commands/scaffold.php +++ b/php/commands/scaffold.php @@ -142,13 +142,15 @@ class Scaffold_Command extends WP_CLI_Command { $theme_slug = $args[0]; $theme_path = WP_CONTENT_DIR . "/themes"; $url = "http://underscores.me"; + $theme_description = "Custom theme: ".$data['theme_name']." developed by, ".$data['author']; + $timeout = 30; $data = wp_parse_args( $assoc_args, array( 'theme_name' => ucfirst( $theme_slug ), 'author' => "Me", 'author_uri' => "", ) ); - + $body['underscoresme_name'] = $data['theme_name']; $body['underscoresme_slug'] = $theme_slug; $body['underscoresme_author'] = $data['author']; -- 2.11.0