SMNTCS Show Symlinked Plugins

描述

SMNTCS Show Symlinked Plugins is a powerful WordPress plugin designed to prevent the accidental deletion or updating of symlinked plugins. It is an essential tool for developers who use symbolic links (symlinks) for plugin development or deployment.

When working with WordPress, it is quite common to symlink plugins for various reasons. For example, you might want to test changes without affecting the original plugin, or symlink plugins across multiple sites for easy updates. However, WordPress, by default, does not distinguish between regular and symlinked plugins on the admin plugins page. This can lead to unintended deletions or updates.

SMNTCS Show Symlinked Plugins addresses this by adding visible indicators to symlinked plugins and adjusting their options.

Features

Indicate Symlinked Plugins

The plugin adds a ‘Symlinked’ text indicator in front of the action row of each symlinked plugin on the WordPress plugins page. This makes it visually clear which plugins are symlinked, helping you to avoid mistakes.

Adjust Plugin Actions

For symlinked plugins, the plugin removes the delete button when the plugin is inactive, ensuring that you cannot accidentally delete symlinked plugins. Furthermore, it removes the option to enable auto-updates for symlinked plugins to prevent unintentional updates.

Custom Styling

The plugin comes with an admin CSS file that you can customize to adjust how symlinked plugins are displayed.

Contribute

Contributions are more than welcome. Simply head over to Github and open an issue or a pull request.

屏幕截图

安装

  1. Upload smntcs-show-symlinked-plugins to the /wp-content/plugins/ directory.
  2. Activate the plugin through the Plugins menu in WordPress.

评价

2023 年 6 月 13 日 1 回复
Very useful tool if you’re a developer. It correctly highlights all plugins that are symlinked and prevents me from accidentally update/delete them. Good job!
阅读所有1条评价

贡献者及开发者

“SMNTCS Show Symlinked Plugins” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「SMNTCS Show Symlinked Plugins」插件已被翻译至 1 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“SMNTCS Show Symlinked Plugins”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.3 (2023.10.24)

  • Encapsulated JS within anonymous function

1.2 (2023.10.21)

  • Test up to WP 6.4

1.1 (2023.06.12)

  • Add screenshot

1.0 (2023.05.15)

  • Initial release