-
Notifications
You must be signed in to change notification settings - Fork 30
Visualizer 3.9.0 breaks with Polylang #960
Copy link
Copy link
Closed
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.releasedIndicate that an issue has been resolved and released in a particular version of the product.Indicate that an issue has been resolved and released in a particular version of the product.
Metadata
Metadata
Assignees
Labels
bugThis label could be used to identify issues that are caused by a defect in the product.This label could be used to identify issues that are caused by a defect in the product.releasedIndicate that an issue has been resolved and released in a particular version of the product.Indicate that an issue has been resolved and released in a particular version of the product.
Description:
Visualizer 3.9.0 added WPML support in ad22ce3, which breaks the plugin with Polylang, since Polylang registers
icl_get_languagesfunction for WPML compatibility.Maybe some additional checks for
$sitepressglobal that it's actuallyinstanceof SitePress?How to reproduce:
Install Visualizer 3.9.0. Install Polylang.
Expected behaviour:
Site loads with graphs.
Current behaviour:
Site doesn't load with graphs.
Technical info