內容簡介
這個元外掛讓常規外掛指定其依賴的其他外掛。
範例:
/*
Plugin Name: BuddyPress Debug
Depends: BuddyPress, Debug Bar
*/
這樣做的結果:
只有在 BuddyPress 和 Debug Bar 兩個外掛都啟用時,BuddyPress Debug 才會啟用。
當 BuddyPress 或 Debug Bar 被停用時,BuddyPress Debug 也會被停用。
= 增強依賴資訊 =
不幸的是,目前很少外掛包含依賴資訊。如果您想增強此外掛可用的資訊,您可以安裝 Known Plugin Dependencies,它是此外掛的附加元件。
連結: 外掛新聞 | 作者網站
開發這個外掛是在GitHub上進行的。歡迎提出拉取請求。在前往外掛論壇之前,請查看那裡報告的問題。
外掛標籤
開發者團隊
原文外掛簡介
This meta-plugin allows regular plugins to specify other plugins that they depend upon.
Example:
/*
Plugin Name: BuddyPress Debug
Depends: BuddyPress, Debug Bar
*/
What this does:
Disables activation of BuddyPress Debug until both BuddyPress and Debug Bar are already activated.
When either BuddyPress or Debug Bar are deactivated, BuddyPress Debug will also be deactivated.
= Enriching dependency information =
Unfortunately, very few plugins currently contain dependency information. If you’d like to enhance the information available to this plugin, you might want to install the Known Plugin Dependencies plugin which acts as an add-on to this one.
Links: Plugin News | Author’s Site
Development of this plugin is done on GitHub. Pull requests welcome. Please see issues reported there before going to the plugin forum.
