开发者 | jrf |
---|---|
更新时间 | 2016年4月14日 13:55 |
捐献地址: | 去捐款 |
PHP版本: | 3.1 及以上 |
WordPress版本: | 4.4 |
版权: | GPLv2 or later |
版权网址: | 版权信息 |
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.
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.
/wp-content/plugins/
directory. Alternatively, you can install directly from the Plugin directory within your WordPress Install.