[wp-trac] [WordPress Trac] #30346: Attachments not being found with attachment_url_to_postid()

WordPress Trac noreply at wordpress.org
Fri Nov 21 05:27:53 UTC 2014


#30346: Attachments not being found with attachment_url_to_postid()
------------------------------+------------------
 Reporter:  bradyvercher      |       Owner:
     Type:  defect (bug)      |      Status:  new
 Priority:  normal            |   Milestone:  4.1
Component:  Media             |     Version:  4.0
 Severity:  normal            |  Resolution:
 Keywords:  needs-unit-tests  |     Focuses:
------------------------------+------------------

Comment (by bradyvercher):

 I got a chance to look into adding the unit tests. They should fail before
 applying [attachment:30346.2.patch] and pass afterward. Let me know if
 there's a better pattern for testing something like this.

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


More information about the wp-trac mailing list