Wrong template is loaded when using static home page
|Reported by:||alekseykorzun||Owned by:|
Observed following bug when using static page as a home page (configured in 'reading' part of settings).
- Create a new page named 'Home', with template 'Home' (home.php).
- Create a new page named 'Blog', with template 'Blog' (blog.php).
- Set 'Home' as your static home page and set 'Blog' as your posts page.
When accessing Blog, instead of blog.php you are presented with a home.php template; because templating system overrides it when home.php is present in a theme directory.
It should not override it and display properly configured template instead.
This could be manually resolved by renaming 'Home' page and template to 'Main',etc.