Changeset 5071
- Timestamp:
- 03/21/07 06:07:17 (1 year ago)
- Files:
-
- trunk/wp-admin/admin-functions.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
trunk/wp-admin/admin-functions.php
r5068 r5071 2210 2210 // If no filters change the filename, we'll do a default transformation. 2211 2211 if ( basename( $file ) == $thumb = apply_filters( 'thumbnail_filename', basename( $file ) ) ) 2212 $thumb = preg_replace( '!(\.[^.]+)?$!', __( '.thumbnail' ).'$1', basename( $file ), 1 );2212 $thumb = preg_replace( '!(\.[^.]+)?$!', '.thumbnail' . '$1', basename( $file ), 1 ); 2213 2213 2214 2214 $thumbpath = str_replace( basename( $file ), $thumb, $file );
