From: jmslbam Date: Sun, 12 May 2013 21:05:21 +0000 (+0200) Subject: Added trailing slash to WP_CONTENT_DIR Fixes #446 X-Git-Tag: v0.10.0~54^2~8 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=0d4e5357ca7b6c0638185e3fe09d10b6391665c1;p=wvm%2Fwvm.git Added trailing slash to WP_CONTENT_DIR Fixes #446 --- diff --git a/php/commands/scaffold.php b/php/commands/scaffold.php index b43e87a1..1cdcac39 100644 --- a/php/commands/scaffold.php +++ b/php/commands/scaffold.php @@ -166,7 +166,7 @@ class Scaffold_Command extends WP_CLI_Command { $data['description'] = ucfirst( $data['parent_theme'] ) . " child theme."; - $theme_dir = WP_CONTENT_DIR . "themes" . "/$theme_slug"; + $theme_dir = WP_CONTENT_DIR . "/themes" . "/$theme_slug"; $theme_style_path = "$theme_dir/style.css"; $this->create_file( $theme_style_path, $this->render( 'child_theme.mustache', $data ) );