Was the fact that it kept spreading not strong evidence of human to human transmission? It seems they just went with the Chinese government instead of asking why people kept getting infected.
In the WHO's defense, China was actively trying to cover up the outbreak. People were starting to panic because more people were getting sick, so they went full authoritarian and banned mention of it on social media.
More people kept getting sick because it was spreading between people, people were getting worried, then WHO announced no evidence of human to human transmission and recommended no restrictions on travel to Wuhan. We know full well in hindsight that was a mistake.