Make WordPress Core

Ticket #16263: 16263.diff

File 16263.diff, 785 bytes (added by scribu, 13 years ago)
  • wp-includes/media.php

     
    125125 *              resize services.
    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 */
    131131function image_downsize($id, $size = 'medium') {
     
    14051405        require_once( ABSPATH . WPINC . '/class-oembed.php' );
    14061406        $oembed = _wp_oembed_get_object();
    14071407        $oembed->providers[$format] = array( $provider, $regex );
    1408 }
    1409  No newline at end of file
     1408}