[wp-trac] [WordPress Trac] #41816: attachment_url_to_postid() should find post_id for URLs of intermediate size images

WordPress Trac noreply at wordpress.org
Wed Sep 6 15:46:06 UTC 2017


#41816: attachment_url_to_postid() should find post_id for URLs of intermediate
size images
------------------------------------------------+--------------------------
 Reporter:  pbiron                              |       Owner:
     Type:  defect (bug)                        |      Status:  new
 Priority:  normal                              |   Milestone:  Awaiting
Component:  Media                               |  Review
 Severity:  normal                              |     Version:  trunk
 Keywords:  has-patch dev-feedback 2nd-opinion  |  Resolution:
                                                |     Focuses:
------------------------------------------------+--------------------------
Changes (by pbiron):

 * keywords:   => has-patch dev-feedback 2nd-opinion


Comment:

 The patch is based on the code in [[https://wpscholar.com/blog/get-
 attachment-id-from-wp-image-url/|this post on WP Scholar]], which is based
 on [[https://wordpress.stackexchange.com/a/7094|this
 wordpress.stackexchange answer by rarst]].

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


More information about the wp-trac mailing list