mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2025-10-16 12:05:38 +00:00
Bring back missing filter for wp_create_thumbnail
git-svn-id: https://develop.svn.wordpress.org/trunk@4182 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
5ec32c8eee
commit
8a3b227fb9
@ -938,6 +938,7 @@ function wp_create_thumbnail($file, $max_side, $effect = '') {
|
||||
if (!empty ($error)) {
|
||||
return $error;
|
||||
} else {
|
||||
apply_filters( 'wp_create_thumbnail', $thumbpath );
|
||||
return $thumbpath;
|
||||
}
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user