lib/capistrano/tasks/wp/setup.cap in capistrano-cul-0.3.3 vs lib/capistrano/tasks/wp/setup.cap in capistrano-cul-0.3.4
- old
+ new
@@ -17,9 +17,12 @@
execute :rm, '-rf', fetch(:wp_docroot), '&&', 'mkdir', fetch(:wp_docroot)
# Download and unpack latest version of WP to wp_docroot
execute :wp, 'core', ['download', "--version=latest", "--path=#{fetch(:wp_docroot)}"]
+ # Delete the unnecessary hello.php plugin that's included with a default installation
+ execute :rm, File.join(fetch(:wp_docroot), 'wp-content/plugins/hello.php')
+
# Create a limited-content wp-config.php file that requires our shared
# wp-config-include.php file. We do this so that wordpress still has a
# wp-config.php file at the expected location, and that file correctly
# sets the ABSPATH constant based on the wp-config.php file location.