﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
7622	wp_get_attachment_url() uses the GUID as the URL	DD32	anonymous	"At present wp_get_attachment_url() relies upon the GUID for the URL of the attachment, As discussed on wp-hackers (""Re: [wp-hackers] Re: permalinks redirected despite WP_SITEURL"") this shouldnt be done due to the fact that ''it just so happens that the guid is the url in wordpress''

The attached patch attempts to use the attachment metadata to workout the files location, followed by using the filtered uploads directory to determine the real location (See comments in patch)."	defect (bug)	closed	normal	2.7	Template	2.7	normal	fixed	has-patch blessed	
