Hi coding team,
SNF69 (long time user of Piwigo) has reported a problem when setting the "Gallery URL", the 'Got Home" link is correct in breadcrumbs, but not other links:
* in Home / Album 1 / Album 2, the Home link goes to Gallery URL
* the Home icon on tags.php or comments.php doesn't care about Gallery URL
I've replaced make_index_url() by get_gallery_home_url() and all "Go to Home" links go to the right place.
I've wondered if it wouldn't be better to automatically use get_gallery_home_url() when calling make_index_url() without any argument, but I've decided to use the explicit function instead.
This code is commited in [Subversion] r11367 for Piwigo 2.2.4. If you see any problem with it, please tell me.
Offline