• Resolved nicmare

    (@nicmare)


    i installed the plugin but NOT placed the map block on any page. But nevertheless your plugin is loading the assets on every page like
    leaflet.js and Control.FullScreen.js
    Please change it to conditional loading!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor Academy LMS

    (@academylms)

    Hello @nicmare,

    Sorry for this type of issue. we will fix this issue as soon as possible. it maybe take 5/7 days for new release. Please wait….

    if you have any other improvement suggestion, please let us

    Thank You
    Academy LMS

    Thread Starter nicmare

    (@nicmare)

    cool. sure i can wait! yes i have feedback.
    1. would be nice if you could add apply_filters for block.php around line 43 (map_marker)
    2. would be nice if you could collaborate with a cookie consent like “complianz” or “real cookie banner” for not loading from remote hosts until the consent is accepted

    Plugin Contributor Academy LMS

    (@academylms)

    Hello @nicmare,

    Today we released WP Map Block v1.4.3
    In that version we added WP 6.1 compatibility and fix assets loading issue.

    Please check it, if you find any other issue please inform us.

    Thank You
    Academy LMS

    Thread Starter nicmare

    (@nicmare)

    confirming the new version breaks functionality at all like reported in another thread:

    jquery.min.js?ver=3.6.1:2 Uncaught ReferenceError: L is not defined
        at wpmapblock-frontend.…d5c4b328fd5cc:1:147
        at HTMLDivElement.<anonymous> (wpmapblock-frontend.…5c4b328fd5cc:1:1366)
        at Function.each (jquery.min.js?ver=3.6.1:2:3003)
        at S.fn.init.each (jquery.min.js?ver=3.6.1:2:1481)
        at HTMLDocument.<anonymous> (wpmapblock-frontend.…d5c4b328fd5cc:1:100)
        at e (jquery.min.js?ver=3.6.1:2:30038)
        at t (jquery.min.js?ver=3.6.1:2:30340)
    Plugin Contributor Academy LMS

    (@academylms)

    Hello @nicmare,

    Yes, Our Team are working to reproduce this issue. Need to check your website configuration. which caching plugin are you used. Please come to our support center from here. It will be really helpful to debug this issue.

    Thank You
    Academy LMS

    Thread Starter nicmare

    (@nicmare)

    Plugin Contributor Academy LMS

    (@academylms)

    Hello @nicmare,

    Please install below dev version. I think you issue will be solved.
    https://drive.google.com/file/d/12AQ5VQslPYSNycgzTetDWLIrQkCyihu6/view?usp=sharing

    Thread Starter nicmare

    (@nicmare)

    confirming its fixed now and conditional assets loading works thank you guys!!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Why is it loading assets on every page even if not used?’ is closed to new replies.