Automatic Updates

Knowledgebase Docs » UberMenu 3
USEFUL? 19
UberMenu 3

You should always run a complete backup of your site before running any updates.

How to use Automatic Updates

Note if you are using UberMenu 3.2.4 or later, automatic updates are enabled by default, you just need to activate your license through the Updates tab. It is still always a good idea to take a backup before installing any updates on your WordPress site

High Level Overview

Here’s the quick rundown of the steps to update – more details in the sections below.

1. Check your version.

UberMenu VersionAutomatic Update Status
< 3.2.1Not available (alerts only)
3.2.1-3.2.3Available via beta testing
3.2.4+Available by default

2. Backup your site.

3. Custom Asset Backup. Double check that any custom assets (custom.js and custom.css) within the UberMenu plugin folder are backed up via the Control Panel > Updates tab.

4. Purchase Code. Enter your purchase code in the Control Panel > Updates tab if you haven’t already

5. Enable beta updates. If you are running 3.2.1-3.2.3, drop the constant define( 'UBERMENU_AUTO_UPDATES' , 1 ); into your wp-config.php if you haven’t already. Skip if running 3.2.4 or later

6. Run updates. Check for updates and update as usual.

This video tutorial will walk you through the more detailed steps below, including beta testing steps for those running version 3.2.1-3.2.3.

1. UberMenu Version

UberMenu automatic updates were added as of UberMenu 3.2.1. If you are running any version older than this, you will need to update manually. Please see Installing Updates

If you are using UberMenu version 3.2.4 or later, you can skip step 5, as automatic updates are no longer in beta testing.

2. Run a backup

First run a complete backup of your site, just to be safe. It’s always important to back up your site before running any updates, so don’t skip this step.

3. Check your custom assets

Check your custom assets backup in the UberMenu Control Panel > Updates. UberMenu will automatically backup custom.css and custom.js. If you have other custom files that you have created, be sure to back those up manually.

If you are not using any custom assets (custom.js or custom.css), you can ignore this.

If your status looks like this:

then your files may not be backed up. Please be sure to back them up manually.

If your status looks like this:

then UberMenu has backed up your files, and will attempt to restore them after the update. It’s still a good idea to back them up just in case.

4. Enter your purchase code

To receive update alerts and automatic updates, you need to enter a valid purchase code and username in the Updates tab of the UberMenu Control Panel. (If you’re already getting update alerts, you’ve already completed this step and can move on to the next one)

5. Enable Automatic Updates

If you are running UberMenu 3.2.4 or later, you can skip this step

By default, automatic updates are disabled while we are beta testing (versions 3.2.1 – 3.2.3) . To enable automatic updates, add this line of code in your wp-config.php

define( 'UBERMENU_AUTO_UPDATES' , 1 );

(add it before the line that reads /* That’s all, stop editing! Happy blogging. */)

6. Check for updates

Next time your site checks for updates, it should show that you can now updated UberMenu automatically. Follow the normal update process to proceed with updating to the latest version of UberMenu.

To force an update check, you can click “Check for Updates” beside UberMenu in the Plugins screen.