[wp-trac] [WordPress Trac] #33109: attachment_url_to_postid() fails if url protocols don't match

WordPress Trac noreply at wordpress.org
Sat Aug 22 16:38:11 UTC 2015


#33109: attachment_url_to_postid() fails if url protocols don't match
-------------------------------------------------+-------------------------
 Reporter:  welcher                              |       Owner:
     Type:  defect (bug)                         |  wonderboymusic
 Priority:  normal                               |      Status:  closed
Component:  Media                                |   Milestone:  4.4
 Severity:  normal                               |     Version:  4.0
 Keywords:  has-patch dev-feedback early 2nd-    |  Resolution:  fixed
  opinion                                        |     Focuses:
-------------------------------------------------+-------------------------
Changes (by wonderboymusic):

 * owner:   => wonderboymusic
 * status:  new => closed
 * resolution:   => fixed


Comment:

 In [changeset:"33705"]:
 {{{
 #!CommitTicketReference repository="" revision="33705"
 Ensure that `attachment_url_to_postid()` matches cross-scheme when front-
 end and back-end schemes are different.

 Adds unit test.

 Props welcher.
 Fixes #33109.
 }}}

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


More information about the wp-trac mailing list