Upgrade to WordPress 2.5 - Front Page Problem
Today I’ve upgraded my blot to WordPress 2.5. I had a problem with this upgrade… The front page of my website showed the “Sorry, no posts matched your criteria.” message instead of my latest posts list.
After diving into the WordPress engine source code, I realised that it was trying to open my homepage as a single post (using the correspondent template). The is_home() function was returning false, and the is_single() was returning true…
I still don’t know the cause of this behavior, but I got it fixed by using my programmer hammer.
In the index.php file, I added the following line:
$_SERVER['REQUEST_URI']=’/page/1′;
This way, the engine renders the first page of posts instead of the single post page.
P.S.: I don’t like the new WordPress administration interface. ![]()



“P.S.: I don’t like the new WordPress administration interface”
Eu acho que é uma questão de hábito. Primeiro estranha-se e depois entranha-se.
fo069.txt;3;6