WordPress.org

Make WordPress Core

Changes between Version 1 and Version 2 of Ticket #34196, comment 31


Ignore:
Timestamp:
10/31/2015 01:44:19 AM (4 years ago)
Author:
azaozz
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #34196, comment 31

    v1 v2  
    33One question: as far as I understand we want the new `medium_large` size to be constant. There is no UI to change it like the other default sizes, and there is no UI to insert it in the editor. However we still store it in the options table, so any plugin or theme can change it or even remove it (by changing/deleting the options).
    44
    5 Wouldn't it be better to "hard-code" it in some way? Maybe in a (private) function that will return all default image sizes (and could be used to reset the users changes to the other default sizes)?
     5Wouldn't it be better to "hard-code" it in some way? Maybe in a (private) function that will return all default image sizes (and could be used to reset the changes to the other default sizes by the users)?