Home › Forums › Calendar Products › Events Calendar PRO › Use of WP_CONTENT_URL breaks plugin on admin SSL only sites
- This topic has 5 replies, 5 voices, and was last updated 9 years, 3 months ago by
UNC Web Services.
-
AuthorPosts
-
December 8, 2016 at 10:40 am #1203360
UNC Web Services
ParticipantI posted this thread about a month ago and explained the exact issue. It is still not resolved with the latest version of The Events Calendar plugin.
See my previous thread for details:
Long story short…simply run a find/replace on your whole directory for
WP_CONTENT_URLand replace withcontent_url().The latter function detects the protocol automatically. It is the preferred method over using the undocumented core constant that the codex explicitly says for plugins not to rely on.
Thanks
December 8, 2016 at 7:06 pm #1203635UNC Web Services
ParticipantAfter a bit more research, this may have been caused by part of the patch I had to use to fix the previous version. I had it living in an mu-plugin, which was still active.
I did 2 things which resolved the issue, but I will need to test if only doing #2 would work (in which case, the plugin is functioning ok again).
1) Run the find/replace I mentioned above
2) Removed a filter I still had in place for the asset URLs to fix http/https when necessaryI’ll try to do some testing tomorrow to see if this is still an issue or not.
December 8, 2016 at 10:58 pm #1203705Geoff B.
MemberGood evening and welcome back!
Thank you for your follow-up on this.
It is truly appreciated.I will relay your findings to DEV. However, in the meantime, please note that we did put in place a patch that solved the issue for some of our customers, but not for others.
We have a top priority ticket that should be part of the next Maintenance Release cycle.
Please keep us posted on your tests with item 2 for everybody’s benefit.
Best regards,
Geoff B.
December 20, 2016 at 3:55 pm #1208590George
ParticipantHello!
I wanted to share that we’ve just published The Events Calendar 4.3.5, which includes some fixes to our plugin JavaScript and asset loading. These fixes should help address some of the problems reported here.
You can learn more about the release on this page → https://theeventscalendar.com/maintenance-release-the-events-calendar-4-3-5-event-tickets-4-3-5-and-premium-plugins/
Cheers!
GeorgeJanuary 11, 2017 at 8:35 am #1216621Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Use of WP_CONTENT_URL breaks plugin on admin SSL only sites’ is closed to new replies.
