[wp-trac] [WordPress Trac] #22100: Treat built-in image sizes the same as custom image sizes (was: Get rid of $_wp_additional_image_sizes)

WordPress Trac noreply at wordpress.org
Wed Oct 17 20:26:15 UTC 2012


#22100: Treat built-in image sizes the same as custom image sizes
-------------------------+------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  3.5
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------

Comment (by scribu):

 In the devchat today, the consensus was that removing the
 `$wp_additional_image_sizes` global is not worth the grief it will cause
 for third-party devs that had to access it directly until now.

 So, instead of introducing a new `$wp_image_sizes` global, I'm going to
 update the patch to use the existing one. The only difference in structure
 is that one stores objects, while the other stores associative arrays.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/22100#comment:21>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list