Make WordPress Core

Changeset 5071


Ignore:
Timestamp:
03/21/2007 06:07:17 AM (18 years ago)
Author:
ryan
Message:

Don't translate .thumbnail extension. fixes #2942

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/admin-functions.php

    r5068 r5071  
    22102210            // If no filters change the filename, we'll do a default transformation.
    22112211            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 );
    22132213
    22142214            $thumbpath = str_replace( basename( $file ), $thumb, $file );
Note: See TracChangeset for help on using the changeset viewer.