Changeset 12584 for trunk/wp-admin/includes/image.php
- Timestamp:
- 12/30/2009 04:23:39 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r12524 r12584 18 18 * @param mixed $file Filename of the original image, Or attachment id. 19 19 * @param int $max_side Maximum length of a single side for the thumbnail. 20 * @param mixed $deprecated Not used. 20 21 * @return string Thumbnail path on success, Error string on failure. 21 22 */ 22 23 function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) { 24 if ( !empty( $deprecated ) ) 25 _deprecated_argument( __FUNCTION__, '0.0' ); 23 26 $thumbpath = image_resize( $file, $max_side, $max_side ); 24 27 return apply_filters( 'wp_create_thumbnail', $thumbpath );
Note: See TracChangeset
for help on using the changeset viewer.