[wp-trac] [WordPress Trac] #48469: Selecting Media File as image block link creates blob URL if large image still being processed

WordPress Trac noreply at wordpress.org
Wed Oct 30 17:05:54 UTC 2019


#48469: Selecting Media File as image block link creates blob URL if large image
still being processed
--------------------------+-----------------------------
 Reporter:  ianmjones     |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  trunk
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 Steps to reproduce...

 1. In post editor, select image block.
 1. Use "Upload" button.
 1. Select a large file, e.g. 5120x2880 image.
 1. While the image is still being processed (has spinner overlay), select
 link button on the block and pick "Media File".

 When the post is then saved and viewed, the wrapping link will have an
 `href` with a value like "blob:http://example.com/cee61eeb-
 3bf1-984a-9930-5660bba8a2f8".

 If you then go back and edit the post, remove the link from the block, and
 then re-select Media File as the link type and save the post, expected URL
 used in post, e.g. "http://example.com/wp-content/uploads/2019/10/image-
 scaled-2560.png"

 Tested with WP 5.3-RC3.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/48469>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list