[wp-trac] [WordPress Trac] #5711: Sporadic default template tag behaviors...

WordPress Trac wp-trac at lists.automattic.com
Wed Jan 23 04:40:08 GMT 2008


#5711: Sporadic default template tag behaviors...
------------------------+---------------------------------------------------
 Reporter:  bradkovach  |       Owner:  anonymous              
     Type:  defect      |      Status:  new                    
 Priority:  normal      |   Milestone:  2.6                    
Component:  Template    |     Version:  2.3.2                  
 Severity:  normal      |    Keywords:  permalink template_tags
------------------------+---------------------------------------------------
 When certain template tags are called in a place where they aren't
 necessarily "in place," such as an attachment, link generation errors
 occur.

 For example... http://www.bradkovach.com/2006/graduation-glamour-shots
 /radawn-burton/

 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.
 http://www.bradkovach.com/2007/space-potatoes/subpage-of-bk6/print/

 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.

-- 
Ticket URL: <http://trac.wordpress.org/ticket/5711>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list