mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-16 23:00:21 +00:00
Remove unused variables. Props DD32. see #5418
git-svn-id: https://develop.svn.wordpress.org/trunk@6363 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
* This function can handle most image file formats which PHP supports.
|
||||
* If PHP does not have the functionality to save in a file of the same format, the thumbnail will be created as a jpeg.
|
||||
*/
|
||||
function wp_create_thumbnail( $file, $max_side, $depreciated = '' ) {
|
||||
function wp_create_thumbnail( $file, $max_side, $deprecated = '' ) {
|
||||
if ( ctype_digit( $file ) ) // Handle int as attachment ID
|
||||
$file = get_attached_file( $file );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user