• Resolved richpav

    (@richpav)


    The theme I’m using “Clean Education Pro” saves snippets of HTML in transients.

    The main problem is the HTMl is rendered and saved in the transient in only in one language. How do I fix it?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Gregory Karpinsky (@tivnet)

    (@tivnet)

    @richpav

    This can be fixed by rewriting the theme’s code that saves transients. Instead of saving one transient per snippet, you’d need to save one for each language. Then, of course, when reading the transients back, read the one that corresponds to the current language.

    Alternatively, disable the code that uses those transients.

    Thread Starter richpav

    (@richpav)

    Resolved, thank you.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Rendered HTML saved in a transient’ is closed to new replies.