Skip to content

LukasFritzeDev/WP-No-Trunk-Updates

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

No Trunk Updates

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.

What it does

  • Removes plugin updates from being shown in the admin dashboard
  • Prevents plugin updates when running WP-CLI commands like wp plugin update --all

How it works

  • 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-trunk plugins unchanged.

Installation

Option 1: Install from the WordPress plugin repository:

  1. In WordPress admin, go to Plugins > Add Plugin.
  2. Search for "No Trunk Updates".
  3. Click "Install Now", then activate the plugin.

Option 2: Use WP-CLI

  1. Run
    wp plugin install --activate no-trunk-updates

Option 3: Install from ZIP:

  1. Download the latest release from releases.
  2. In WordPress admin, go to Plugins > Add Plugin > Upload Plugin.
  3. Choose the ZIP file, click "Install Now", then activate the plugin.

Verification with WP-CLI

Run:

wp plugin list

For any plugin whose version is trunk, update_version should be empty.

About

WordPress Plugin to disable updates for plugins using the local development version "trunk".

Resources

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages