mirror of
https://github.com/WordPress/WordPress.git
synced 2024-12-23 09:37:42 +01:00
Bring back missing filter for wp_create_thumbnail
git-svn-id: http://svn.automattic.com/wordpress/trunk@4182 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
parent
adb2e50e8d
commit
0957f9a061
@ -938,6 +938,7 @@ function wp_create_thumbnail($file, $max_side, $effect = '') {
|
|||||||
if (!empty ($error)) {
|
if (!empty ($error)) {
|
||||||
return $error;
|
return $error;
|
||||||
} else {
|
} else {
|
||||||
|
apply_filters( 'wp_create_thumbnail', $thumbpath );
|
||||||
return $thumbpath;
|
return $thumbpath;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user