rankmath / seo-by-rank-math

Rank Math is a revolutionary WordPress SEO Plugin that combines the features of many SEO tools and lets you multiply your traffic in the easiest way possible :bulb: :chart_with_upwards_trend: →
https://rankmath.com
107 stars 52 forks source link

Conflict Between MP3 Audio Player by Sonaar and Rank Math CMB2 #286

Open alexdeborba opened 2 months ago

alexdeborba commented 2 months ago

Describe the bug There is a conflict between the MP3 Audio Player by Sonaar plugin [ Free / Pro ] and the Rank Math plugin. Both plugins use the open-source CMB2 project extensively. By default, CMB2 does not support a drag-and-drop feature, so each plugin has developed its own workaround. However, Rank Math is loading its own CMB2 version in priority, preventing the custom script from MP3 Audio Player by Sonaar from being loaded, causing a functionality issue.

To Reproduce Steps to reproduce the behavior:

  1. Install and activate both the MP3 Audio Player by Sonaar plugin and the Rank Math plugin.
  2. Go to the MP3 Audio Player by Sonaar plugin settings.
  3. Attempt to use the drag-and-drop feature for ordering tracks.
  4. Observe the error where the custom script for drag-and-drop functionality is not loaded.

Expected behavior The drag-and-drop functionality for ordering tracks in the MP3 Audio Player by Sonaar plugin should work correctly without interference from the Rank Math plugin.

Desktop (please complete the following information):

Additional context The conflict arises because Rank Math loads its own CMB2 version in priority, which prevents the custom script developed by MP3 Audio Player by Sonaar from being loaded. A temporary workaround is to deactivate Rank Math while ordering tracks and then reactivate it afterward. However, a more permanent solution is needed to resolve this conflict without requiring users to deactivate plugins.