westonruter / skip-updates

A WordPress plugin to skip updates from dot org hosted plugins or themes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Skip Updates

A plugin that allows for adding installed dot org hosted plugins or themes to skip updating.

Description

Have you ever had a custom plugin or theme accidentally overwritten by an update from a wp.org plugin or theme with an identical slug? There are several very old Trac tickets describing this behavior and are still waiting for a solution in core. That solution is now available.

This is a plugin that will add a Settings menu, Skip Updates, where plugins or themes may be added by selecting the type of either plugin or theme and entering the slug. Once added, the plugin or theme will no longer receive updates or update notices from wp.org.

Please note that a plugin slug has the format of my-plugin/my-plugin.php and a theme has a slug in the format of twentynineteen.

This does require that this plugin is installed and activated for this protection. Fortunately there is a plugin dependency installer library that may be added to your plugin or theme that is able to install and activate any plugin, including this one, in either an optional or mandatory fashion.

Usage

The "type" element is from the following list.

  • plugin
  • theme

The "slug" element is either the plugin slug or the theme stylesheet slug.

Examples

type: plugin
slug: akismet/akismet.php

or

type: theme
slug: twentynineteen

Above are examples for a plugin or a theme. Please notice the diffence in the slug format.

Development

PRs are welcome against the develop branch.

Changelog

Please see the Github repository: CHANGELOG.md.

About

A WordPress plugin to skip updates from dot org hosted plugins or themes.

License:MIT License


Languages

Language:PHP 100.0%