OSDN Git Service
(root)
/
wvm
/
wvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
e3fbb05
)
Added trailing slash to WP_CONTENT_DIR Fixes #446
author
jmslbam
<jmslbam@gmail.com>
Sun, 12 May 2013 21:05:21 +0000
(23:05 +0200)
committer
jmslbam
<jmslbam@gmail.com>
Sun, 12 May 2013 21:05:21 +0000
(23:05 +0200)
php/commands/scaffold.php
patch
|
blob
|
history
diff --git
a/php/commands/scaffold.php
b/php/commands/scaffold.php
index
b43e87a
..
1cdcac3
100644
(file)
--- 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 ) );