[wp-trac] [WordPress Trac] #53181: attachment_url_to_postid not working in latest wordpress

WordPress Trac noreply at wordpress.org
Tue May 11 13:59:33 UTC 2021


#53181: attachment_url_to_postid not working in latest wordpress
--------------------------+------------------------------
 Reporter:  hedgehog90    |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  General       |     Version:  5.7.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:
--------------------------+------------------------------

Comment (by hedgehog90):

 Sorry, I forgot to include what it did to my url:

 "https://localhost/wp-content/uploads/2021/05/14893-tiny-toon-adventures-
 nes-front-cover.jpg"
 becomes:
 "2021/05/14893-tiny-toon-adventures-nes-front-cover.jpg"
 before it is processed by the query, which makes no sense.

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


More information about the wp-trac mailing list