wordpress: handle self-hosted blogs with rest api disabled. fixes #308