[wp-hackers] Flexible Installation Proccess

Ryan Boren ryan at boren.nu
Tue Nov 29 17:59:50 GMT 2005


On Tue, 2005-11-29 at 17:23 +0100, Stefano wrote:
> Il Tue, 29 Nov 2005 07:19:21 -0800, Ryan Boren <ryan at boren.nu> scrive:
> 
> >> > Imagine that for some i18n purposes it's vital to activate some 
> >> > plugins through the setup... It's better than a patch? isn't it?
> >> >
> >
> >We can move the code that creates the first post, page, etc. to a
> >create_defaults() function that can be replaced by a function of the
> >same name loaded from wp-includes/languages/xx/install-functions.php.
> 
> Maybe to not add a new dir level the file should be named
> xx_XX_install-functions.php that will be distributed with locales .mo

I'm open to either style.  If we start adding other files, we might want
a directory.

Ryan




More information about the wp-hackers mailing list