Wrong Domain in Permalink, Generated from publish_post
-
I’m having an issue with the Twitter Tools plugin. When I publish a new post, the resulting tweet has the wrong permalink URL.
First, the setup. I’m running WordPress 3.2.1, setup as a Network. I’m also using the WordPress MU Domain Mapping plugin (0.5.4.1) to map each blog to its own domain. This particular blog is minorthoughts.desertflood.com, mapped to minorthoughts.com.
When I directly publish a new post, the Twitter Tools plugin tweets out the title and permalink, but it does it with the incorrect minorthoughts.desertflood.com domain. When I schedule a post, it gets tweeted out at the scheduled time, with the correct minorthoughts.com link.
I think the problem is related to the interaction of the
publish_post
action andget_permalink
. The plugin callsget_permalink
from inside of apublish_post
action. It seems like it should work and everything but the domain is correct. I just can’t figure out what the exact problem is though and I’m not sure how to diagnose it further.
- The topic ‘Wrong Domain in Permalink, Generated from publish_post’ is closed to new replies.