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:
@@ -669,6 +669,8 @@ function wp_create_thumbnail($file, $max_side, $effect = '') {
|
||||
}
|
||||
|
||||
}
|
||||
} else {
|
||||
$error = __('File not found');
|
||||
}
|
||||
|
||||
if (!empty ($error)) {
|
||||
|
||||
Reference in New Issue
Block a user