Changeset 5071
- Timestamp:
- 03/21/2007 06:07:17 AM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
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 );
Note: See TracChangeset
for help on using the changeset viewer.