"link_url" field being populated with Permalink
ansonphong opened this issue · comments
phong commented
Hi Haidy,
I tried to get to the bottom of this, although I couldn't solve the issue.
It seems like when I'm inserting a post using pw_insert_post()
or pw_update_post()
that link_url
field when supplied as empty is being auto-populated with a permalink url of the post.
This field link_url
is actually meant for offsite links, such as related articles, or youtube videos, etc. I can't imagine how it's getting the permalink address in there.
Do you know what might be causing this?
hmikhail commented
I used to set link_url with post permalink when I insert a new record to post_meta. Removed that part.
phong commented
Great, it's working well now.