[wp-trac] [WordPress Trac] #15928: wp_get_attachment_url does not check for HTTPS

WordPress Trac noreply at wordpress.org
Wed Nov 5 14:21:42 UTC 2014


#15928: wp_get_attachment_url does not check for HTTPS
-------------------------------------+---------------------------
 Reporter:  atetlaw                  |       Owner:  boonebgorges
     Type:  defect (bug)             |      Status:  accepted
 Priority:  normal                   |   Milestone:  4.1
Component:  Permalinks               |     Version:  3.0.3
 Severity:  normal                   |  Resolution:
 Keywords:  needs-testing has-patch  |     Focuses:
-------------------------------------+---------------------------

Comment (by boonebgorges):

 Replying to [comment:77 joemcgill]:
 > For these reasons, I'm suggesting we resolve the first case and
 readdress the second in as a separate ticket.

 After posting 15928.6.patch, I started to come to the same conclusion
 myself. Let's go with the straightforward fix to `wp_get_attachment_url()`
 for now. That is, after all, the precise issue being referred to in the
 original ticket. Questions about what to do with the scheme of `img src`
 attributes *within post content* are, as joemcgill notes, going to be
 quite a bit more complicated. I'm going to suggest we discuss them in a
 ticket.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/15928#comment:79>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list