Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Plugin Hall of Shame! :) Plugin Devs Please Read


3sixty
Participant

@3sixty

Hmm… Isn’t it possible to add something like this to the bp core code:

1. Require BP-specific plugins to have a special trigger in the plugin header like “Type: bp-plugin” or simply “BP-plugin: True”

2. At activation and upgrade, double check those plugins to make sure they are BP safe. If not, refuse to register them and give these errors:

  • “The plugin you are trying to activate contains functions that can’t be found in the installed versions of WP/WPMU and BuddyPress. They are : etc…”
  • “Sorry, this plugin can’t be registered because it does not check if BuddyPress is active.”
  • “Sorry, this plugin can’t be registered because it uses an old method of BP detection and needs updating to use bp_init loader method.”

Skip to toolbar