Files
hoponhopofftickets/viator-collector/includes/class-vc-taxonomies.php
Amir Bagheri fd6dba3203 fix: destination cards show a tour photo again
vc_term_image_url() cached empty results for 12h and relied on an SQL
meta comparison to find a tour with a photo; destination cards site-wide
(homepage and region pages) were blank. Read the photo in PHP from up to
10 tours (primary, else first gallery image), use a fresh cache key, and
expire empty results after an hour. Plugin 1.9.3.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 16:47:01 +03:30

8.8 KiB