Closed decodekult closed 1 year ago
THis is the related PR: https://github.com/WPChill/download-monitor/pull/1226
Thank you for the PR @decodekult, we'll include it in the 4.7.77 version. Most probably will be launched in 2 weeks, on 6th of March.
Wamly, Razvan
Describe the bug When using combined with WPML and Toolset Types, the plugin can fire a PHP fatal error as the current WPML language might be switched to
all
before firing a query, but not restored afterward.To Reproduce Steps to reproduce the behavior:
[download...]
shortcode for that download in the WYSIWYG field content for the Apost post, and save the post in the editor.Expected behavior The post edit page should load properly.
Screenshots If applicable, add screenshots to help explain your problem.
Extensions installed and activated:
Additional context I am the main developer of the Toolset set of plugins, as well as part of the WPML Compatibility team. I have debugged the issue and found the root cause for it, so a Pull request addressing the problem is going to be ready and open in the next minutes and linked here. In it, I will basically: