Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support adamewww

    (@adamewww)

    Hi therealgilles,

    I checked with Shane on this and he said there might be a way we can modify the version we include to ignore jQuery, even when it’s available. He’s going to look into it and if something comes of it, let us know.

    Plugin Support adamewww

    (@adamewww)

    Quick question: Do you know if Hestia is including a different version of jQuery, or is it the stock WP version?

    Thread Starter therealgilles

    (@chamois_blanc)

    As far as I can see, the theme uses the stock WP version.

    They bundle in this library (which has apparently moved):
    https://github.com/FezVrasta/bootstrap-material-design

    which seems related to the JS error. I found a typo in their JS code which is I believe the root cause of the issue (see linked support issue).

    This said, does your plugin add a document.arrive function?

    • This reply was modified 2 years, 8 months ago by therealgilles.
    Thread Starter therealgilles

    (@chamois_blanc)

    I see it does in load-webp.js. It would probably be better to namespace it a bit. Something like document.ewwwio.arrive maybe? or not attach it to document at all?

    • This reply was modified 2 years, 8 months ago by therealgilles.
    Plugin Support adamewww

    (@adamewww)

    OK, Shane had a chance to look at it and it looks like the fix is going to have to be on their end and is essentially what you did. From what he saw (and from your temp fix), it looks like they check for document.arrive, which exists because we add it, and then a few lines later use e.arrive. Shane removed the jQuery bit on our end, but we’re not certain it’s going to work since, again, they are looking for something that is going to exist. So, that having been said, you can try the updated version of our plugin that you can get from here that Shane just pushed out but more likely than not, it’s not going to change much.

    Thread Starter therealgilles

    (@chamois_blanc)

    Thanks a lot for spending time looking into someone else’s problem ??

    I was guessing that if you don’t create document.arrive, then their ‘if’ statement clause will be false, and the problem won’t happen.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Conflict of webp JS rewriting with Hestia theme’ is closed to new replies.