• Resolved stefano93

    (@stefano93)


    Hi, I’m running my site on HTTPS protocol and I have JetPack Infinite Scroll enabled. On the frontend, the script is loaded before the definition of the infiniteScroll variable, and the following check is executed too early throwing an error in the console:

    if ( "https:" == document.location.protocol ) {
    	infiniteScroll.settings.ajaxurl = infiniteScroll.settings.ajaxurl.replace( "http://", "https://" );
    }

    Probably, this code should be executed in the $(document).ready block, so I think this is a bug. Can anyone confirm this, and maybe fix it?

    https://ww.wp.xz.cn/plugins/jetpack/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Jetpack Infinite Scroll on HTTPS doesn't load’ is closed to new replies.