While working on a related issue I came across this problem. A url in a private message is being altered when displayed, and I can’t track down the reason. I tried using the default themes with all plugins except buddypress disabled and got the same behavior.
When I look in my database the message is saved with the correct URL:
Update: The meta_value saved in wp_bp_messages_meta for meta_key _oembed-***** has the wrong URL saved in there so the problem is occurring before the data is saved. The fact that this same problem happened on my site as well as in this forum is interesting and leads me to believe the problem is somewhere in wordpress or buddypress core files.
Final analysis. It turns out that the previous developer’s method for loading certain plugin related pages/posts was done very much NOT “the wordpress way”. This caused bad oembed URLs to be created, so when the oembed data was returned it was corrupted. I was able to resolve all the issues.
This thread can be closed.
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘URLs in messages being truncated’ is closed to new replies.