Image fu from Andy. fixes #1776

git-svn-id: http://svn.automattic.com/wordpress/trunk@2958 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
ryan
2005-10-20 20:48:32 +00:00
parent 183593f333
commit 45fc6c1664
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)) {