[wp-hackers] Flexible Installation Proccess
ryan at boren.nu
Tue Nov 29 15:19:21 GMT 2005
On Tue, 2005-11-29 at 14:20 +0330, Ali Sattari wrote:
> And also i18n hackers need to have more control on initial DB insertion
> values. like Links , Describtions and more ... ;)
> Mani Monajjemi wrote:
> > Dear Friends,
> > As an wordpress i18n hacker , I would like to suggest to add some
> > flexibility to current installation proccess, something like what
> > exists as action_hooks , but not that complex, I mean for some i18n
> > porpuses it's vital to add some action_hooks in install proccess, I
> > mean it would be great to include some"fixed name files" in install php.
> > If the files exist in specefic folder (like
> > wp-includes/languages/xx/install) they would be included!
> > 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.
More information about the wp-hackers