Changeset 12680 for trunk/wp-admin/includes/image.php
- Timestamp:
- 01/09/2010 10:03:55 AM (16 years ago)
- File:
-
- 1 edited
-
trunk/wp-admin/includes/image.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-admin/includes/image.php
r12659 r12680 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 N otused.20 * @param mixed $deprecated Never used. 21 21 * @return string Thumbnail path on success, Error string on failure. 22 22 */ 23 23 function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) { 24 24 if ( !empty( $deprecated ) ) 25 _deprecated_argument( __FUNCTION__, ' 0.0' );25 _deprecated_argument( __FUNCTION__, '1.2' ); 26 26 $thumbpath = image_resize( $file, $max_side, $max_side ); 27 27 return apply_filters( 'wp_create_thumbnail', $thumbpath );
Note: See TracChangeset
for help on using the changeset viewer.