Developer fixes false duplicate flags in WordPress plugin caused by WPML language copies
A WordPress developer discovered a critical flaw while testing duplicate image detection in Filikod, a free alt text audit plugin, on a client site with 3,099 images across three languages. The tool incorrectly flagged translation copies created by multilingual plugins like WPML, Polylang, and Bogo as duplicate images, since each creates a separate attachment per language pointing to the same file. Deleting such flagged attachments risked breaking translated pages by removing their associated images. The fix involved mapping all language-linked attachments into translation sets so the tool treats each set as a single image rather than multiple duplicates. The same logic was applied to the alt text audit, which had been incorrectly penalising sites for identical alt text across language variants of the same image.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in