Force Update Check
Securely refresh and inspect WordPress plugin, theme, and core update metadata.
by Coded Letter · github.com/coded-letter/force-update-check · website
Install
The author publishes release zips, so WP-CLI can install straight from GitHub:
wp plugin install https://github.com/coded-letter/force-update-check/releases/download/v1.0.0/force-update-check-1.0.0.zipDeclares an update source (https://github.com/coded-letter/force-update-check), so updates arrive through the plugin's own updater.
Readme
Force Update Check
Force Update Check is a small WordPress development and administration utility that clears cached update metadata and immediately asks the configured plugin, theme, and WordPress core update services for fresh information.
It displays the resulting update metadata in Tools > Force Update Check. It never installs an update.
Features
- Refreshes plugin, theme, and WordPress core update metadata on demand
- Shows current and available versions after the refresh
- Shows package URLs to administrators for update-source diagnostics
- Requires the
update_pluginscapability - Protects the refresh action with a WordPress nonce
- Does not install, activate, deactivate, upgrade, or delete code
Requirements
- WordPress 6.0 or newer
- PHP 7.4 or newer
Installation
- Download
force-update-check-1.0.0.zipfrom the latest GitHub release. - In WordPress, open Plugins > Add New > Upload Plugin.
- Select the ZIP, install it, and activate Force Update Check.
- Open Tools > Force Update Check.
You can also clone this repository into
wp-content/plugins/force-update-check.
Usage
Open Tools > Force Update Check as an administrator and select Force Update Check. WordPress clears its three update transients and runs its normal core, plugin, and theme update checks. The page then reloads with the refreshed metadata.
Package URLs can contain private vendor tokens or signed query strings. The diagnostic page is capability-gated, but screenshots and copied output should still be treated as potentially sensitive.
Multisite
On multisite, WordPress normally grants update_plugins only to network
administrators. The tool follows that capability model and does not grant any
additional access.
Development
The production source is maintained in the
coded-letter-monorepo
and released to this public repository. The plugin has no build step.
Validate PHP changes with:
php -l force-update-check.php
php -l includes/superfunky-release-client.php
php -l includes/superfunky-update-client.php
License
Force Update Check is free software licensed under the GNU General Public License v2.0 or later.
Read the full README on GitHub →