Skip to:
Content
Pages
Categories
Search
Top
Bottom

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


danbpfr
Participant

@chouf1

I found this mail sended in 2007 on wp-hackers, while searching for error message stuff at plugin activation

It seems to be be already the same situation in 2010… so devs, you know…

wp-hackers] Plugins : return proper error on activation faliure

Omry Yadan omry at yadan.net

Fri May 18 07:35:15 GMT 2007

* Previous message: [wp-hackers] List digest with unprotected emails

* Next message: [wp-hackers] Re: WordPress 3

* Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

Some complex plugins may fail during activation (creating database

tables or what not).

currently there is no way for plugins to return an error signal + error

message in such cases: only thing they can do is to print the error.

this is problematic as the error does not fit well into the wordpress

admin page, and can also cause problems if for some reason the someone

tries to set an http header after the plugin was activated.

I suggest that we allow plugin to return error message back to wordpress

on activation.

Skip to toolbar