matijamrkaic on "[Plugin: Contact Form DB] Corrupted file attachments"

ساخت وبلاگ

matijamrkaic
Member
Posted 14 hours ago #

Hello,

I've encountered the error with corrupted file attachments that was already discussed, although the plugin has been patched with the solution many versions ago.

Once I omit the if (ob_get_level()) and go straight to ob_end_clean(), all files uploaded are fine.
Could you please advise if this workaround is insecure or may cause harm in any way?

Kind Regards

https://wordpress.org/plugins/contact-form-7-to-database-extension/

That should not cause any problem (security or otherwise).

Let me now if this works:

while (ob_get_length()) { ob_end_clean();
}

matijamrkaic
Member
Posted 2 minutes ago #

Thanks for the response!

I tested the code, it doesn't work.

WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 122 تاريخ : سه شنبه 31 فروردين 1395 ساعت: 15:14