Issue with WPML on network activation
-
In class-media-folder.php, WPML activation is checked using :
is_plugin_active(‘sitepress-multilingual-cms/sitepress.php’)This breaks media-folder move file to another folder on a network where only a few sites have WPML activated since it validates that the plugin is installed, but not that it’s activated on the current site.
Easy fix is to change both instances of :
is_plugin_active(‘sitepress-multilingual-cms/sitepress.php’)by :
defined( ‘ICL_SITEPRESS_VERSION’ ) && ICL_SITEPRESS_VERSIONin class-media-folder.php.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Issue with WPML on network activation’ is closed to new replies.