[wp-hackers] Theme install.php suggestion

Denis de Bernardy denis at semiologic.com
Thu May 19 11:07:42 GMT 2005


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 



More information about the wp-hackers mailing list