Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#23719 closed defect (bug)

Twenty Thirteen: Attachment URLs for unattached images cause redirect loop — at Initial Version

Reported by: trepmal Owned by:
Milestone: 3.6 Priority: normal
Severity: major Version: 3.6
Component: Bundled Theme Keywords: has-patch close
Focuses: Cc:


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.

Change History (1)

@trepmal3 years ago

Note: See TracTickets for help on using tickets.