PP Maintenance Labels

Deskripsi

PP Maintenance Labels will add a button to each plugin in the plugin list where you can add labels with comments to each plugin. Those labels act as notes or reminders. Add labels to an important plugin so it doesn’t get deactivated or deleted by someone who doesn’t know about its importance.
The labels are made by clicking the “Edit Labels”-button in the plugin list and selecting one or multiple stati in the label form. There are four default stati which are automatically created when the plugin is first installed and activated.
Each status has options to block certain functions like deactivate, delete or update. If you make a label for a plugin with those options, the plugin can no longer be deactivated / updated / deleted until you alter or remove the label.
You can make your own stati for your labels under Settings -> PP Maintenance Labels Status Settings. You can give your entry a name, select a color and choose whether labels made with this status will block any functions.

Tangkapan Layar

Instalasi

  1. Install the plugin from the plugin repository and activate it. No settings needed.

Tanya Jawab

When should I use PP Maintenance Labels?

With PP Maintenance Labels you can add labels with comments or reminders to a specific plugin. Some examples of common labels:
* “This plugin is important for the theme. Don’t deactivate or delete it! – Bob”
* “Contains custom changes. Don’t update! – Marc”
* “Required by customer for billing overview.”
* “Pro version needed for history functionality and cloud storage. – Lisa”
* “Required by our own Sherlock search plugin.”
* “TEMPORARY for dev purposes. Remove before golive.”
* “Legacy. First one to find an alternative: Please replace, thanx!”
* “Handles important product data. Use export function before removing!”

Ulasan

Belum ada ulasan untuk plugin ini.

Kontributor & Pengembang

“PP Maintenance Labels” adalah perangkat lunak open source. Berikut ini mereka yang sudah berkontribusi pada plugin ini.

Kontributor

Log Perubahan

1.0.2

  • Improved: Removed bundled translation files (.po/.mo) to fully support community translations via translate.wordpress.org.
  • Refactoring: Replaced generic namespaces and prefixes across all functions, classes, and options with unique identifiers to prevent conflicts.

1.0.1

  • Improved: A few adjustments requested by the WP AI.

1.0.0

  • Feature: Adds a central settings page under “Settings > PP Maintenance Labels Status Settings” to manage status types.
  • Feature: Implements protection features to prevent plugin deactivation, deletion, or updates based on assigned labels.
  • Feature: Adds an AJAX-based modal for quick label editing directly within the plugin overview.
  • Feature: Enables dynamic visual branding; labels display with configurable colors and background styles in the plugin list.
  • Refactoring: Restructures the entire codebase using an object-oriented architecture (Repository & Renderer patterns).
  • Refactoring: Introduces namespacing (PPMaint) to prevent conflicts with other plugins.
  • Improved: Ensures full PHP 8.x compatibility.
  • Security: Implements nonce verification and capability checks for all save operations (Admin & AJAX).
  • Security: Adds advanced HTML sanitation for backend forms.
  • Bugfix: Resolves an issue where rapid clicks on the save button created database duplicates; includes integrated cleanup logic.

0.1.2

  • Bugfix: Addressed various minor bugs.

0.1.1

  • Bugfix: Resolved minor display issues.

0.1.0

  • Initial release.