Skip to content

One click update

robiso edited this page Jul 24, 2017 · 27 revisions

When there's a new version of WonderCMS, an update button will appear above your settings panel. An example is shown here.

How it works

Once you're logged into your WonderCMS website, a comparison between the version stated in your index.php and the latest version file on GitHub is made. If those two versions are different, the update button will appear as shown in the screenshot above.

What gets updated

  • index.php gets updated with each update
  • default theme.php gets updated occasionally
  • default style.css gets updated occasionally
  • .htaccess gets rarely updated

NOTE 1: Backup your index.php if you've made changes to it. This prevents any changes made from being overwritten when updating.


NOTE 2: Make a copy of the default theme folder if you've made changes to theme.php or style.css.


**NOTE 3: If you've made changes to index.php and want to turn off the update message (STRONGLY DISCOURAGED DUE TO SECURITY UPDATES), change the version number in your index.php to match with the latest version number and apply WonderCMS security patches manually. This step would have to be repeated each time there is a new version of WonderCMS.

Simply use functions.php instead of editing index.php.**


Clone this wiki locally