Zum Inhalt springen Zur Seitenleiste springen
Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 9:00 – 18:00 -
- - - - - - -

Supporter-Zeitzone: Asia/Karachi (GMT+05:00)

Schlagwörter: 

Dieses Thema enthält 0 Antwort, hat 1 voice.

Zuletzt aktualisiert von khalidA-55 Vor 1 Jahr, 4 Monaten.

Assistiert von: Waqas Bin Hasan.

Autor Beiträge
Juni 5, 2024 um 10:12 a.m. #15706153

khalidA-55

Background of the issue:
I am trying to fix an issue with WPML Media Translation where scaled attachments are not being removed correctly. I followed the solution provided, which involves modifying the .../wp-content/plugins/sitepress-multilingual-cms/classes/media/class-wpml-attachment-action.php file by replacing the code at line 171.

Symptoms:
When an oversized image that triggers WordPress scaling is translated and then one of the translations is removed, the original image file is also deleted, resulting in a broken image link in the original language.

Questions:
What steps should I take to ensure scaled attachments are removed correctly?
Is there an alternative solution if the provided code modification does not work?

Das Thema '[Geschlossen] alt image' ist für neue Antworten geschlossen.