Added support to WordPress versions wthiout wp_get_theme()