You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Deprecated media_buttons_context hook conflicts with other plugins #3
It seems the media_buttons_context hook has been deprecated . WordPress developer docs says to use media_buttons action instead. This also seems to trigger a bug if other plugins use the same deprecated hook, making the other plugins custom media buttons inserted with the media_buttons_context hook to be repeated several times right beside the "Cloudinary Upload/Insert" button.
My theme also uses the media_buttons_context hook to place a media button, and that was causing the button to be repeated beside the "Cloudinary Upload/Insert" button too. Although I've managed to solve part of the issue by fixing my theme's code, I also use another plugin that uses the same hook, and then the bug was rising again.
So digging the cloudinary plugin code I got to manually change it to the following bellow, what successfully solved all the issues mentioned before:
changed the title [-]Deprecated media_buttons_context hook repeats conflicts with other plugins[/-][+]Deprecated media_buttons_context hook conflicts with other plugins[/+]on Jun 21, 2016
@monecchi - Thank you for your feedback. While there isn't a specific ETA for this, it's indeed on our road-map to update the WordPress plugin, including the referred issue.
Activity
[-]Deprecated media_buttons_context hook repeats conflicts with other plugins[/-][+]Deprecated media_buttons_context hook conflicts with other plugins[/+]taragano commentedon Jun 30, 2016
@monecchi - Thank you for your feedback. While there isn't a specific ETA for this, it's indeed on our road-map to update the WordPress plugin, including the referred issue.
fix: avoid passing null to preg_replace() when getting a parent asset…