[wp-hackers] Change in plugin Options page handling

Tor Bjornrud bjornrud at msu.edu
Tue Feb 22 21:39:14 GMT 2005


Owen Winkler wrote:
> What is the compromise?

Just throwing this out there...

By default, giving every plugin a custom space/page much in the same way 
the plugins activation page does.

As a given, plugin filenames are unique, so go through all plugin files, 
see if they have a new admin_options() method of sorts defined, and if 
so, echo a link to plugin_options.php?pluginName=pluginfilename.  Then 
on plugin_options.php execute the special method(s) for display and 
storage of that specific plugins deal.

Obviously, a standard set of methods for plugins to have would be 
needed, preferably something more sane than what I just wrote...

~Tor


More information about the hackers mailing list