I have modified pdf_thumbnails_admin_int to add a new hook on updated_post_meta and works fine:
function pdf_thumbnails_admin_int()
{
if (!extension_loaded(‘imagick’)) {
add_action(‘admin_notices’, ‘pdf_thumbnails_missing_imagick’);
return;
}
add_filter(‘wp_generate_attachment_metadata’, ‘pdf_thumbnails_generate_attachment_metadata’, 10, 2);
add_action(‘deleted_post’, ‘pdf_thumbnails_deleted_post’);
add_action(‘updated_post_meta’, ‘pdf_thumbnails_generate_attachment_metadata’,10,2);
}
I am not able to reproduce the issue, tested the following:
- Upload PDF attachment
- Verified that PDF thumbnail exists and is attached to PDF: OK
- Modified title and description on PDF attachment
- Verified that PDF thumbnail still exists and is attached to PDF: OK
- Modified title and description on generated PDF thumbnail
- Verified that PDF thumbnail still exists and is attached to PDF: OK
Can you post the steps you take to reproduce the issue?
What happens if you try this on a clean WordPress-installation without any other plugins?
Two months since last update, assuming that the issue was resolved.