WordPress.org

Make WordPress Core

Changeset 17542


Ignore:
Timestamp:
03/23/11 18:46:38 (4 years ago)
Author:
nacin
Message:

Document that the size parameter in image_downsize() can also be an array. props scribu, fixes #16263.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/media.php

    r16865 r17542  
    126126 * 
    127127 * @param int $id Attachment ID for image. 
    128  * @param string $size Optional, default is 'medium'. Size of image, can be 'thumbnail'. 
     128 * @param array|string $size Optional, default is 'medium'. Size of image, either array or string. 
    129129 * @return bool|array False on failure, array on success. 
    130130 */ 
Note: See TracChangeset for help on using the changeset viewer.