[wp-trac] [WordPress Trac] #22100: Get rid of $_wp_additional_image_sizes

WordPress Trac wp-trac at lists.automattic.com
Thu Oct 4 16:05:46 UTC 2012


#22100: Get rid of $_wp_additional_image_sizes
-------------------------+------------------------------
 Reporter:  scribu       |       Owner:
     Type:  enhancement  |      Status:  new
 Priority:  normal       |   Milestone:  Awaiting Review
Component:  Media        |     Version:
 Severity:  normal       |  Resolution:
 Keywords:  has-patch    |
-------------------------+------------------------------
Description changed by scribu:

Old description:

> Goals:
>
> 0. Have a solid API for working with intermediate image size definitions.
>
> 1. Make default image sizes go through register_image_size(), instead of
> having an ugly `$_wp_additional_image_sizes` global.
>
> 2. Introduce a 'pregenerate' arg, which will allow defining an image size
> that will not be automatically generated right after upload.
>
> Related tickets: #15311, #21810

New description:

 Goals:

 0. Have a solid API for working with intermediate image size definitions.

 1. Don't hardcode default image sizes; register them like any other.

 2. Introduce a 'pregenerate' arg, which will allow defining an image size
 that will not be automatically generated right after upload.

 Related tickets: #15311, #21810

--

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


More information about the wp-trac mailing list