Make WordPress Core


Ignore:
Timestamp:
03/23/2011 06:46:38 PM (14 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.