[wp-hackers] Changing the clock format in Write > Post

Christian Holtje docwhat at gmail.com
Tue May 13 14:33:37 GMT 2008

Hash: SHA1

On May 13, 2008, at 8:44 AM, Alex Hempton-Smith wrote:
> Well, we have yellowish alert boxes, for when Aksimet needs  
> configuring etc,
> so why don't we have messages appear after a plugin is activated  
> saying:
> Thanks for installing the Foo Plugin; you can find this at 'Manage' ->
> 'Foo'.
> <link to page>Go there now?</link>
> That way, people know where to find the options page, and the  
> plugins can be
> more integrated with the menus as they currently are.
> Any thoughts?

It seems like this is something that some helper functions should be  
created so that plugin developers can "do the right thing".

Examples for two plugins:
"Frobtnitz" -- This is a plugin that has a one-time configuration.   
You won't ever change this.
"Zorkmid" -- This plugin has settings that you might change anytime  
you change the look and feel of the blog.

register_plugin("Frobnitz", false, frobnitz_setup);
register_plugin("Zorkmid", zorkmid_settings, false);

Which would create yellow boxes like this:
"Successfully installed the "Frobnitz" plugin.  You should now  _set  
it up_."
"Successfully installed the "Zorkmid" plugin.  You can now change it's  

On the plugins page, there would be a link for "Frobnitz" at the top,  
like Akismet.
Next to the entry for Zorkmid on the plugin page there would be a link  
added for "Settings" so that an admin could go directly from the  
plugin description to the settings page.

This could be extended to include a way to register a "manage" page as  

This way all this magic would just work for plugin developers and if  
Wordpress wanted to change this in the future they could without  
having to worry about breaking tons of plugins.


Version: GnuPG v1.4.7 (Darwin)


More information about the wp-hackers mailing list