[wp-hackers] Modifying admin forms via plugins

Ryan Boren ryan at boren.nu
Wed Jun 23 15:48:41 UTC 2004


On Wed, 2004-06-23 at 08:26, Owen Winkler wrote:
> > 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.

The option group stuff is going away.  Most of it was removed in 1.2. 
Only the link manager still uses it, for now.  As mpt mentioned,
auto-generated interfaces are not very good.  Plus, strings pulled out
of a database are harder to translate.

Ryan

> > 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
> 
> 
> 
> _______________________________________________
> hackers mailing list
> hackers at wordpress.org
> http://wordpress.org/mailman/listinfo/hackers_wordpress.org




More information about the hackers mailing list