himmon
Forum Replies Created
-
Hi Alin,
I posted an issue with your plugin here in this thread below which has been commented on by WPMUDEV, I really want to use your plugin but a conflict still exists with Appointments +
I noticed you responded previously so I posted their comment.
Many thanks
https://wordpress.org/support/topic/issues-with-google-analytics-dashboard-for-wp?replies=6
Forum: Plugins
In reply to: [Appointments] Issues with Google Analytics Dashboard for WPHello Alin, I would like to use your plugin on my WP site but the conflict still exists with Appointment+ plugin v1.4.8 from WPMUDEV,
I have asked WPMUDEV for a solution and they have responded with this comment below on their internal forum.
I hope you’re well today and thank you for your question!
I’ve run through the thread at wp.org and I must agree that the solution here is on Google Analytics Dashboard plugin developer’s side.
Take a look at this code please:
if ( !class_exists( ‘Google_Utils’ ) ) {
class Google_Utils {This is taken out of Appointments+ code. What it does is a check if the “Google_Utils” class already exists. If it does, then it’s not created.
Since both plugins do use 3rd-party libraries this is a must here and leaving class’es existence unchecked is actually against the basic OOP rules.
As much as I’d love to give you a ready-to-use solution here, I think it would be good to insist on the other plugin’s developer to re-factor code and improve it.
As for outdated libraries. I think this is a good point here and I’ve passed it to a plugin developer so hopefully he’ll take it into account upon one of the nearest update releases!
Thank you for pointing this out!
Have a nice day!
AdamRate my support
Sat Jul 11 2015, 5:34:37 PM
If you have a comment or solution to this issue I’d greatly appreciate it.
Many thanks