[wp-trac] [WordPress Trac] #23719: Twenty Thirteen: Attachment URLs for unattached images cause redirect loop

WordPress Trac noreply at wordpress.org
Fri Mar 8 00:59:49 UTC 2013


#23719: Twenty Thirteen: Attachment URLs for unattached images cause redirect loop
-----------------------------+---------------------------
 Reporter:  trepmal          |       Type:  defect (bug)
   Status:  new              |   Priority:  normal
Milestone:  Awaiting Review  |  Component:  Bundled Theme
  Version:  trunk            |   Severity:  major
 Keywords:  needs-patch      |
-----------------------------+---------------------------
 in Twenty Thirteen, the attachment url for an unattached image (e.g.
 !http://local.dev/trunk/?attachment_id=5252#main) results in an infinite
 redirect loop.

 Attachment urls for attached images (e.g. !http://local.dev/trunk/sample-
 page/hd-traver-4/#main) are fine.

 Commenting out {{{add_filter( 'attachment_link',
 'twentythirteen_attachment_link' );}}} in functions.php is the quick fix.

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


More information about the wp-trac mailing list