The issue will be something to do with your local setup and network. It will not be due to the version of Discourse, or the difference between global and granular keys. It’ll be hard for me to debug your local app interconnectivity issues, particularly due to the variety of ways and environments you can run both Wordpress and Discourse locally with. Here’s a few tips to help you.
- Always run the latest version of Discourse, Wordpress and the WP Discourse plugin.
- Use port 3000 instead of port 4200 in the localhost Discourse URL in WP Discourse.
- Make sure the key you create can be used by the admin username you’ve set as the Publishing Username.
This is what my local setup looks like with my local Wordpress and Discourse connected to each other. I use MAMP Pro to run Wordpress locally.