Theme defined in a constant at the beginning of the script
|Reported by:||kazdam||Owned by:|
In every version of wordpress, the theme path is defined in a constant, which is defined at the all beginning of the script.
This is disallowing plugins developers to modify the theme used in an extension if some others datas are requires (like the post id) are required to get the current theme.
It might be a good idea to define it later, at least after defining the $post var.