[new] autoloader for wordpress functions in smarty
[fix] small problems