[wp-hackers] Patch for setting thumbnail size

Andy Skelton skeltoac at gmail.com
Mon Mar 27 20:35:29 GMT 2006


On 3/27/06, Owen Winkler <ringmaster at midnightcircus.com> wrote:
> Also, it seems like (I could be reading this wrong) if the thumbnail
> creation in wp_create_thumbnail() experiences an error, then the error
> is returned as text.  The code that accepts the results of
> wp_create_thumbnail() stuffs the result into the attachment record,
> regardless of whether it succeeded.  Oops.

Most thumbnail creation errors are fatal errors, i.e. out of memory,
so any inserts after that would fail.

Andy


More information about the wp-hackers mailing list