[wp-hackers] Theme install.php suggestion
Denis de Bernardy
denis at semiologic.com
Thu May 19 11:10:13 GMT 2005
wp_uninstall_theme, wp_install_plugin and wp_uninstall_plugin would be nice
too.
D.
> -----Original Message-----
> From: wp-hackers-bounces at lists.automattic.com
> [mailto:wp-hackers-bounces at lists.automattic.com] On Behalf Of
> Denis de Bernardy
> Sent: Thursday, May 19, 2005 1:08 PM
> To: wp-hackers at lists.automattic.com
> Subject: [wp-hackers] Theme install.php suggestion
>
>
> Suggestion for wp 1.5.2
>
> add_filter( 'switch_theme', 'wp_install_theme' );
>
> Wp_install_theme should:
>
> - check if install.php exists
> - run install.php if current theme != new theme (to avoid
> running the thing by remote)
>
> --
> Denis de Bernardy
> http://www.semiologic.com
>
> _______________________________________________
> wp-hackers mailing list
> wp-hackers at lists.automattic.com
> http://lists.automattic.com/mailman/listinfo/wp-hackers
>
More information about the wp-hackers
mailing list