Sporadic default template tag behaviors...
|Reported by:||bradkovach||Owned by:|
When certain template tags are called in a place where they aren't necessarily "in place," such as an attachment, link generation errors occur.
This is an attachment page that has next post/previous post buttons at the bottom. Notice that the previous post points to a page (http://www.bradkovach.com/brad/design/).
My 404 logs show a lot of this odd linking behavior... Here's one where several post-slugs are mashed into one URL that generated a 404.
space-potatoes is a post,
subpage-of-bk6 is an attachment,
print is the printable version of the page
I have deactivated the wp-print and wp-email plugins and these errors sustain. They are the only plugins that modify the permalink structure... that I know of.
Even with attachment templates in place, these errors still occur.
If there is interest in investigating this problem on my server, I can offer login accounts.