Ticket #16263: 16263.diff
File 16263.diff, 785 bytes (added by , 13 years ago) |
---|
-
wp-includes/media.php
125 125 * resize services. 126 126 * 127 127 * @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. 129 129 * @return bool|array False on failure, array on success. 130 130 */ 131 131 function image_downsize($id, $size = 'medium') { … … 1405 1405 require_once( ABSPATH . WPINC . '/class-oembed.php' ); 1406 1406 $oembed = _wp_oembed_get_object(); 1407 1407 $oembed->providers[$format] = array( $provider, $regex ); 1408 } 1409 No newline at end of file 1408 }