Viewing 2 replies - 1 through 2 (of 2 total)
  • i use the adifier theme, and the new Update dont fix the Problem ??

    Plugin Author Tim W

    (@timwhitlock)

    @kumakumacloud I presume that the actual issue you’re having is loading of custom translation files that you saved via Loco Translate?

    It looks to me like wc-vendors tries to use translations too early, as explained in this FAQ – Loco Translate won’t be running when this happens, so it won’t be able to load custom translations. This was always happening, but wasn’t a problem until now. Here’s why –

    The change is that under WordPress 6.7 the later call to load_plugin_textdomain won’t do anything like it used to, and so won’t reload the text domain. This is a breaking change in WordPress which Loco Translate cannot fix.

    A simple hack to the code will fix it. Where you see unload_textdomain( 'wc-vendors') you can change this to unload_textdomain('wc-vendors',true) and it will work. At least is does in my tests.

Viewing 2 replies - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.