[wp-trac] [WordPress Trac] #45407: Add block attributes to `wp_calculate_image_sizes` to allow for proper handling of `sizes` attribute

WordPress Trac noreply at wordpress.org
Sat Jan 5 01:36:26 UTC 2019


#45407: Add block attributes to `wp_calculate_image_sizes` to allow for proper
handling of `sizes` attribute
--------------------------+---------------------
 Reporter:  mor10         |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  5.0.3
Component:  Media         |     Version:
 Severity:  blocker       |  Resolution:
 Keywords:  dev-feedback  |     Focuses:
--------------------------+---------------------

Comment (by mikeschroder):

 I reached out in #core-editor (linked above), then in
 https://github.com/WordPress/gutenberg/pull/11973 as a followup, as I
 noticed that the PR is not merged and does not have a milestone.

 As far as I can tell, some way for the editor to provide the attributes
 (whether the above PR, or a different approach) will still need to land in
 Gutenberg before the [attachment:"45407.diff" core patch on this ticket]
 will be helpful.

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


More information about the wp-trac mailing list