[wp-trac] [WordPress Trac] #36345: We shouldn't use "full" as image size name in wp_calculate_image_srcset()

WordPress Trac noreply at wordpress.org
Sun Mar 27 16:41:43 UTC 2016


#36345: We shouldn't use "full" as image size name in wp_calculate_image_srcset()
----------------------------+------------------------------
 Reporter:  jaspermdegroot  |       Owner:
     Type:  defect (bug)    |      Status:  new
 Priority:  normal          |   Milestone:  Awaiting Review
Component:  Media           |     Version:  4.4
 Severity:  normal          |  Resolution:
 Keywords:  has-patch       |     Focuses:
----------------------------+------------------------------

Comment (by azaozz):

 It is true that `full` is not a "reserved name" like `thumbnail`,
 `medium`, and `large`, but so was the newly introduced `medium-large` in
 4.4. Also `full` is used quite a lot in the UI for naming the original
 image.

 Perhaps we should "reserve" `full` and even `original` as size names that
 may be used by core, similarly to `medium-large`.

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


More information about the wp-trac mailing list