這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Known Plugin Dependencies

描述

The awesome WordPress Plugin Dependencies plugin introduces plugin dependency management right into your WordPress admin area.

Unfortunately, the reality is that very few plugins currently contain dependency information and until that changes, the effect of having the WordPress Plugin Dependencies plugin activated is minimal.

This plugin enriches the information about dependencies available to the Plugin Dependencies plugin bridging the gap until plugins catch up and start incorporating the Depends and Provides tags in their file headers properly.

You’ll need to have version 1.3 or higher of the WordPress Plugin Dependencies plugin installed for this plugin to have any effect.

Disclaimer:

The dependency list provided by this plugin is – and will always be – incomplete.

Additional information to be added to the list is very welcome and will be gracefully accepted.

Even better: send a pull request or bug report to your favorite add-on plugin requesting them to start using the tags.

Background

This plugin was inspired by this discussion.

Rather than having individual developers create their own lists to enrich the available information, this plugin tries to bundle the knowledge of dependencies.

The ultimate goal is for the Depends tag to be widely adopted and this plugin to become obsolete.

Of course, it would also help a lot if the Depends/Provides tags would be officially recognized and mentioned in the Plugin Developers FAQ and if what’s expected to be at the top of the main .php file would be as well documented as the readme.txt file in the Developer Center, but that’s a whole other challenge 😉

Any lobbying you can do for this will of course be encouraged and applauded!

If you like this plugin, please rate and/or review it. If you have ideas on how to make the plugin even better or if you have found any bugs, please report these in the Support Forum or in the GitHub repository.

螢幕截圖

  • Before: Plugins page with the Plugin Dependency plugin activated.
  • After: Plugins page with the Plugin Dependency plugin activated + Known Plugin Dependencies plugin activated.

安裝

  1. Extract the .zip file for this plugin and upload its contents to the /wp-content/plugins/ directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install.
  2. Activate the plugin through the “Plugins” menu in WordPress.

常見問題

How to add dependency information to a plugin:

Add a ‘Depends:’ tag to the header of the main plugin .php file of plugin.

<?php
/**
 * Plugin name: My Plugin
 * Depends:     Another Plugin
 */

Sending in Git pull requests/ SVN change requests to plugins with known dependencies is the best way to ensure plugin inter-dependency information is known and I strongly encourage you to do so.

評價

2016年9月3日
Thankyou so much for the plugin. I hope that you are shown more support, in any event I encourage you to continue the good work.
閱讀全部1個評價

貢獻者及開發者

“Known Plugin Dependencies” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 Known Plugin Dependencies 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

0.1 (2014-09-20)

  • Initial release