mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-07-01 07:40:07 +00:00
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:
@@ -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