diff --git a/devops/update.txt b/devops/update.txt new file mode 100644 index 0000000..b1ab317 --- /dev/null +++ b/devops/update.txt @@ -0,0 +1,10 @@ +1 Backup all files +2 Backup Database +3 Download latest version of WP https://wordpress.org/latest.tar.gz +4 Go to WP document root e.g. /var/www/WordPress/htdocs +5 Delete the old wp-includes and wp-admin directories +6 Do NOT delete your existing wp-content folder. Do NOT delete any files or folders in your existing wp-content directory !!! +7 Copy all files from latest.tar.gz archive to WP document root. (overwrite all) +8 chown -R jenkins:jenkins /var/www/WordPress +9 chmod -R 755 /var/www/WordPress +10 Run Jenkins job to update all files from repository diff --git a/htdocs/wp-content/themes/lawcarta/footer.php b/htdocs/wp-content/themes/lawcarta/footer.php index abdae8b..bc5c9c9 100644 --- a/htdocs/wp-content/themes/lawcarta/footer.php +++ b/htdocs/wp-content/themes/lawcarta/footer.php @@ -45,7 +45,7 @@ require_once 'inc/walker-nav-menu.php';