Translation gone when updating to WP 6.7 and Vantage 1.20.27
By Morten From, 8 months ago. Last reply by Alex S, 8 months ago
I’ve updated several sites with Vantage theme to WordPress 6.7 this morning and have lost translations on all of them. Rerouting back to WP 6.6.2 resolves the problem. I’ve narrowed it down to the language selection in function.php, which uses an old line code no longer supported in WP 6.7: load_theme_textdomain( ‘YOURTEXTDOMAIN’, get_template_directory() . ‘/languages’…