Use of WP_CONTENT_URL breaks plugin on admin SSL only sites

Home Forums Calendar Products Events Calendar PRO Use of WP_CONTENT_URL breaks plugin on admin SSL only sites

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1203360
    UNC Web Services
    Participant

    I 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:

    Use of WP_CONTENT_URL breaks plugin on admin SSL only sites

    Long story short…simply run a find/replace on your whole directory for WP_CONTENT_URL and replace with content_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

    #1203635
    UNC Web Services
    Participant

    After 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 necessary

    I’ll try to do some testing tomorrow to see if this is still an issue or not.

    #1203705
    Geoff B.
    Member

    Good 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.

    #1208590
    George
    Participant

    Hello!

    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!
    George

    #1216621
    Support Droid
    Keymaster

    Hey 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

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Use of WP_CONTENT_URL breaks plugin on admin SSL only sites’ is closed to new replies.