Hacker News new | ask | show | jobs
by kels 5609 days ago
Yeah, that's an issue I'm working out. When inserting an image WordPress inserts the URL for the image attachment page so with some help I have a function that checks for the permalink and puts that in the link box by default. If the post is a draft it doesn't have a permalink so it just puts the domain in.