Image fu from Andy. fixes #1776

git-svn-id: https://develop.svn.wordpress.org/trunk@2958 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Ryan Boren
2005-10-20 20:48:32 +00:00
parent 7f5350d345
commit 1da25e1927
10 changed files with 252 additions and 79 deletions

View File

@@ -669,6 +669,8 @@ function wp_create_thumbnail($file, $max_side, $effect = '') {
}
}
} else {
$error = __('File not found');
}
if (!empty ($error)) {