[wp-hackers] Modifying admin forms via plugins

Owen Winkler ringmaster at midnightcircus.com
Wed Jun 23 13:26:07 UTC 2004


> Second, I like the idea of a framework-controlled 
> option/setting feature. This could really simplify code on 
> the plugin end and help keep the database tidy. I'll be sure 
> to include this point in v1.0.

There are FOUR tables in a WP database dealing with options.  They seem
pretty extensive for configuration.  Are these b2 leftovers or something
that WP is working toward?  Either way, they seem like good candidates
for use by this function of the framework.
 
> And lastly, you are free to do whatever you like to this 
> code. It has a good bit of gpl'd WP code already in it, so I 
> doubt I can be too selfish about it. ;) One recommendation 
> though: I think it's a bad idea to include the framework with 
> the plugin as that can confuse end-users and potentially 
> overwrite a newer version. A better plan would be to include 
> a message in the plugin-description with something along the 
> lines of "This plugin requires the Plugin Framework" and link 
> to http://stevarino.com/wp/framework/

You might consider making some sample code available for plugins to
check for the presence of your framework and respond accordingly.

Also...

I had a dream last night about your framework using DOM to insert itself
into the Plugins page rather than replacing it, so that it could be
dropped into the Plugin directory without incident.  Thoughts on this?
I mean thoughts on the concept, not the fact that I dream about
WordPress.

Owen





More information about the hackers mailing list