diff --git a/plugin/index.js b/plugin/index.js index ca31153..a995d8e 100644 --- a/plugin/index.js +++ b/plugin/index.js @@ -98,7 +98,7 @@ Generator.prototype.plugItInPlugItIn = function() { })(); function installPlugin(plugin, cb) { - me.tarball('http://downloads.wordpress.org/plugin/' + plugin + '.zip', path.join(me.conf.get('contentDir') || 'wp-content', 'plugins', plugin), cb); + me.tarball('http://downloads.wordpress.org/plugin/' + plugin + '.zip', path.join(me.conf.get('contentDir') || 'wp-content', 'plugins'), cb); } };