The source code is not under dispute. Trademarks or the use of WP.org do not fall under the FOSS license.
But the idea of an enforceable trademark right to stop people from accurately describing their derivative services is another thing where people often don’t want to hear the clear answer. Companies typically go much further than what’s actually required to avoid infringement, because frustrating the open source community you depend on isn’t worth the relatively modest benefits. The Wordpress dynamic is different, because their mark is already licensed to a commercial vendor and already causes routine confusion in that context.