China is blocking Taiwan's membership in the UN, and is blocking them having any recognized status, for any international organisation.
The WHO had the choice: accept the Chinese Communist Party's demand to exclude Taiwan, or be shunned by the PRC. The problem isn't necessarily with the WHO, it's with the CCP.