[wp-trac] [WordPress Trac] #51058: attachment_url_to_postid does not retrieve post ID of really large images

WordPress Trac noreply at wordpress.org
Sun Nov 14 13:59:45 UTC 2021


#51058: attachment_url_to_postid does not retrieve post ID of really large images
-------------------------------------+------------------------------
 Reporter:  littler.chicken          |       Owner:  (none)
     Type:  defect (bug)             |      Status:  new
 Priority:  normal                   |   Milestone:  Awaiting Review
Component:  Media                    |     Version:  5.3
 Severity:  normal                   |  Resolution:
 Keywords:  has-patch needs-testing  |     Focuses:
-------------------------------------+------------------------------

Comment (by digitalswing):

 In the case where the image is {{{3bbd5767-f4be-
 33f8-b124-ee91953caaa6.jpg}}} the {{{$filename   = \end( $path_parts );}}}
 part of @jdorner 's patch returns {{{ee91953caaa6.jpg}}}.

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


More information about the wp-trac mailing list