Changeset 45892
- Timestamp:
- 08/25/2019 10:20:57 PM (5 years ago)
- Location:
- trunk/src/wp-includes
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-gd.php
r45611 r45892 198 198 199 199 /** 200 * Resize multiple images from a single source. 200 * Create multiple smaller images from a single source. 201 * 202 * Attempts to create all sub-sizes and returns the meta data at the end. This 203 * may result in the server running out of resources. When it fails there may be few 204 * "orphaned" images left over as the meta data is never returned and saved. 205 * 206 * As of 5.3.0 the preferred way to do this is with `make_subsize()`. It creates 207 * the new images one at a time and allows for the meta data to be saved after 208 * each new image is created. 201 209 * 202 210 * @since 3.5.0 203 211 * 204 212 * @param array $sizes { 205 * An array of image size arrays. Default sizes are 'small', 'medium', 'medium_large', 'large'.213 * An array of image size data arrays. 206 214 * 207 215 * Either a height or width must be provided. 208 216 * If one of the two is set to null, the resize will 209 * maintain aspect ratio according to the provided dimension.217 * maintain aspect ratio according to the source image. 210 218 * 211 219 * @type array $size { -
trunk/src/wp-includes/class-wp-image-editor-imagick.php
r45611 r45892 411 411 412 412 /** 413 * Resize multiple images from a single source. 413 * Create multiple smaller images from a single source. 414 * 415 * Attempts to create all sub-sizes and returns the meta data at the end. This 416 * may result in the server running out of resources. When it fails there may be few 417 * "orphaned" images left over as the meta data is never returned and saved. 418 * 419 * As of 5.3.0 the preferred way to do this is with `make_subsize()`. It creates 420 * the new images one at a time and allows for the meta data to be saved after 421 * each new image is created. 414 422 * 415 423 * @since 3.5.0 416 424 * 417 425 * @param array $sizes { 418 * An array of image size arrays. Default sizes are 'thumbnail', 'medium', 'medium_large', 'large'.426 * An array of image size data arrays. 419 427 * 420 428 * Either a height or width must be provided.
Note: See TracChangeset
for help on using the changeset viewer.