[wp-hackers] absolute URLs in plug-ins and custom types
johnbillion+wp at gmail.com
Fri Jul 6 08:46:38 UTC 2012
On 6 July 2012 09:23, Ryan McCue <lists at rotorised.com> wrote:
> You know, I'm sure I've asked this before, but why doesn't WordPress just
> insert URLs into posts as <a href="[home]/2012/01/01/abc/"> ?
> This would save everyone a lot of pain, IMHO.
> (I'm also willing to put my money where my mouth is and write a patch, but
> I'm sure we've discussed this before, so I'll hold off.)
This isn't a bad approach and I've considered it myself, but it
doesn't solve cases where one of your authors comes along and
copy-pastes a page URL into the post content.
More information about the wp-hackers