Son çare olarak şu kodu ekledik:
// Disable Contact Form 7 plugin update
function disable_contact_form_7_update( $value ) {
if ( isset( $value ) && is_object( $value ) && isset( $value->response ) ) {
$plugin_path = 'contact-form-7/wp-contact-form-7.php';
if ( isset( $value->response[ $plugin_path ] ) ) {
unset( $value->response[ $plugin_path ] );
}
}
return $value;
}
add_filter( 'site_transient_update_plugins', 'disable_contact_form_7_update' );
Bu da işe yaramadı, 24 saat geçmeden yine kendini güncelledi. İnanılmaz bir olay. Öbür internet sitemizde aylardır güncellemiyoruz ve sorun çıkmıyor.
Edit:
Sorunu çözdük, sorun sunucu taraflıymış. cPanel'deki Softaculous otomatik güncelliyormuş.