No Trunk Updates is a small WordPress plugin for local development.
It prevents WordPress from offering updates for plugins that are currently on version trunk.
This helps avoid accidental upgrades of in-development plugins through the normal WordPress update flow.
- Removes plugin updates from being shown in the admin dashboard
- Prevents plugin updates when running WP-CLI commands like
wp plugin update --all
- Scans installed plugins and finds entries with version
trunk(case-insensitive). - Removes update information for those plugins from the plugin update transient.
- Leaves all non-
trunkplugins unchanged.
- In WordPress admin, go to Plugins > Add Plugin.
- Search for "No Trunk Updates".
- Click "Install Now", then activate the plugin.
- Run
wp plugin install --activate no-trunk-updates
- Download the latest release from releases.
- In WordPress admin, go to Plugins > Add Plugin > Upload Plugin.
- Choose the ZIP file, click "Install Now", then activate the plugin.
Run:
wp plugin listFor any plugin whose version is trunk, update_version should be empty.