[wp-trac] [WordPress Trac] #50137: New IMG sizes (1536x1536 & 2048x2048) names fail in JS/REST

WordPress Trac noreply at wordpress.org
Sat May 9 20:23:22 UTC 2020


#50137: New IMG sizes (1536x1536 & 2048x2048) names fail in JS/REST
--------------------------+-----------------------------------
 Reporter:  bahia0019     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Media         |     Version:  5.4.1
 Severity:  normal        |  Resolution:
 Keywords:                |     Focuses:  javascript, rest-api
--------------------------+-----------------------------------
Changes (by bahia0019):

 * focuses:  rest-api => javascript, rest-api


Comment:

 I had a thought that if I couldn't access the sizes with JS, than
 Gutenberg may not be able to access them either.
 To test, I opened a new Post and inserted an Image block, and the
 1536x1536 & 2048x2048 don't appear as available in the size drop down
 (medium-square and fullscreen are sizes added by me).

 [[Image(https://i.postimg.cc/L82DWNG0/Screen-
 Shot-2020-05-09-at-1-11-54-PM.png)]]

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


More information about the wp-trac mailing list