[wp-trac] [WordPress Trac] #36531: Default image size medium_large is not generated

WordPress Trac noreply at wordpress.org
Tue May 17 20:39:17 UTC 2016


#36531: Default image size medium_large is not generated
-----------------------------------+-----------------------------
 Reporter:  Indent                 |       Owner:  joemcgill
     Type:  defect (bug)           |      Status:  closed
 Priority:  normal                 |   Milestone:  4.5.3
Component:  Media                  |     Version:  4.4
 Severity:  normal                 |  Resolution:  fixed
 Keywords:  has-patch fixed-major  |     Focuses:  administration
-----------------------------------+-----------------------------
Changes (by ocean90):

 * status:  reopened => closed
 * resolution:   => fixed


Comment:

 In [changeset:"37457"]:
 {{{
 #!CommitTicketReference repository="" revision="37457"
 Media: Remove medium_large size from `$whitelist_options['media']` in
 `options.php`.

 The `medium_large_size_w` and `medium_large_size_h` options were added to
 the
 `$whitelist_options['media']` in options.php in [35479], which causes both
 options
 to be set to `0` when the media settings are changed. When this occurs,
 the
 medium_large image size will no longer be created when an image is
 uploaded.

 Since these options aren't meant to be updated via the settings UI, they
 can be
 safely removed from the whitelist.

 Merge of [37435] to the 4.5 branch.

 Props joemcgill.
 Fixes #36531.
 }}}

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


More information about the wp-trac mailing list