[wp-trac] [WordPress Trac] #32145: wp_get_attachment_url add /sites/$blog_id/ twice when attach same image to multiple posts in MU sites

WordPress Trac noreply at wordpress.org
Mon Apr 27 11:31:49 UTC 2015


#32145: wp_get_attachment_url add /sites/$blog_id/ twice when attach same image to
multiple posts in MU sites
----------------------------+-----------------------------
 Reporter:  pareshradadiya  |      Owner:
     Type:  defect (bug)    |     Status:  new
 Priority:  normal          |  Milestone:  Awaiting Review
Component:  Media           |    Version:
 Severity:  normal          |   Keywords:
  Focuses:                  |
----------------------------+-----------------------------
 WordPress doesn't allow you to attach an already-attached image to another
 post. At the minute, I must re-upload the same image if I want to do this.
 So when I use {{{wp_get_attachment_url()}}} to get attachments url, It
 append **///sites/$blog_id///** twice for all **re-uploaded** attachments.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/32145>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list