Updates

CanAI installed as a normal plugin updates through the standard WordPress update screens, fed by a published release file.

What it is

A site that has CanAI in wp-content/plugins/canai checks https://wpmanage.web.app/wpcanai/info.json for the newest release. When that file lists a version higher than the one installed, WordPress shows the usual "update available" notice and installs the package the file points to. The Download button on the guide's home page reads the same file.

You use the tools you already know:

The release file only offers the latest version. There is no rollback in WordPress; to go back, install an older zip yourself.

Check the update channel

Open CanAI → Tools → Diagnostics and find Plugin updates, or ask an agent to call wpcanai/diagnostics. The row also shows in Site Health. It reads the last known result without a network request. The Diagnostics run that includes the network probes (include_network over MCP) refreshes it first.

Value shown Meaning
Up to date (1.97.1) Nothing newer is published.
1.98.0 available (installed 1.97.1) Update from Plugins, or wp plugin update canai.
Update check failed The last check against the host failed; the message says why.
Not applicable (mu-plugin or symlinked install) WordPress cannot update plugins in this layout.
Disabled Update checks are switched off on this site.
Library missing The bundled vendor/ folder is incomplete.

Point a site elsewhere, or switch checks off

Add to wp-config.php before the "stop editing" line:

define( 'WPCANAI_UPDATE_URL', 'https://staging.example.com/canai/info.json' );
// or switch update checks off:
define( 'WPCANAI_UPDATE_URL', '' );

Developers can do the same with the wpcanai_update_metadata_url filter. Only https:// addresses are accepted; anything else disables the check.

If something looks wrong

Related