Learn about Centmin Mod LEMP Stack today
Register Now

Master Branch update inc/wpsetup.inc centmin.sh menu option 22

Discussion in 'Centmin Mod Github Commits' started by eva2000, Apr 16, 2017.

  1. eva2000

    eva2000 Administrator Staff Member

    May 24, 2014
    Brisbane, Australia
    Local Time:
    5:52 AM
    Nginx 1.13.x
    MariaDB 5.5
    update inc/wpsetup.inc centmin.sh menu option 22

    update wordpress uninstall script with confirmation prompt message before actual deletion to allow end user to cancel the deletion run before it happens as suggested at https://community.centminmod.com/threads/wordpress-uninstall-script-changes.11342/

    for existing users who installed wordpress via centmin.sh menu option 22, you can manually update your uninstall scripts with this update by editing your /root/tools/wp_uninstall_${vhostname}.sh where ${vhostname} is your domain.com name and adding after #/bin/bash line the following code.

    Code (Text):
    echo "-------------------------------------------------------------------------"
    echo "Do you want to uninstall/delete WP install for ${vhostname}"
    echo "This will delete all data from /home/nginx/domains/${vhostname}"
    echo "including any non-wordpress data installed at /home/nginx/domains/${vhostname}"
    echo "-------------------------------------------------------------------------"
    read -ep "Uninstall WP Install For ${vhostname} [y/n]: " uninstall
    if [[ "$uninstall" != [yY] ]]; then

    Continue reading...

    Centmin Mod Github Master branch

    Master branch is where most recent commits are made as at May 24, 2015.