Last active
January 25, 2019 18:53
-
-
Save mitchelldmiller/752f3a01f25e6036cd7c5842eda2d6c3 to your computer and use it in GitHub Desktop.
Delete WordPress files before calmPress update
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
rm -f index.php | |
rm -f license.txt | |
rm -f readme.html | |
rm -f wp-activate.php | |
rm -rf wp-admin | |
rm -f wp-blog-header.php | |
rm -f wp-comments-post.php | |
rm -f wp-config-sample.php | |
rm -f wp-cron.php | |
rm -rf wp-includes | |
rm -f wp-load.php | |
rm -f wp-login.php | |
rm -f wp-settings.php | |
rm -f wp-signup.php | |
rm -f xmlrpc.php |
Hmmmm this should not be needed to be done like that. Are you upgrading from the admin (need to have WP_DEBUG
set to true
to see that upgrade path) or manually downloading the zip file and extracting from it?
Did not need script, updating today from release archive /src directory.
Got error on calmPress
directory name. Added issue.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Script deletes calmPress core files before update.