All categories forced on post save @ Multisite with WPML + Elementor
-
Howdy!
On our setup, Multisite with WPML + Elementor, when you update a post or page with Elementor, your plugin makes all the categories part of it on post_save.
This is because attachment_fields_to_edit is not restricted just to attachments post type.
I fixed it by adding this to /wp-media-category-management/include/class-wp-mcm-plugin.php#L530
if( 'attachment' !== $post->post_type ) { return $form_fields; }
Can you please take a look as if this makes sense?
If you have a GitHub repository we are more than likely to PR this changes for further testing on both sides before releasing a patch.
Have a nice week!
The page I need help with: [log in to see the link]
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘All categories forced on post save @ Multisite with WPML + Elementor’ is closed to new replies.