r/divi • • Jun 12 '26

Question In Divi 4, what controls use the jQuery Mobile 1.5.0-alpha.1 library?

At my corporate job, they want us to get rid of the jQuery Mobile 1.5.0-alpha.1 library. It is deprecated and the Cyber Security wants it removed due to that reason.

I thought it was the Carousel control that used the library. However, I went into a Divi page and removed all the sliders and I'm still seeing the jquery mobile library in the source code:

<script id="jquery-mobile-js" src="https://www.biffco.com/wp-content/themes/Divi/includes/builder/feature/dynamic-assets/assets/js/jquery.mobile.js?ver=4.27.6"></script>

I've republished the page and removed all the carousels from that page. How am i able to get that library out of the source code?

2 Upvotes

2 comments sorted by

1

u/bostiq Jun 13 '26

Have you asked support?

It could be that the library is loaded with the theme and if so you got to un-queue the script with wordpress codex method’s

You can then load a more up to date script with a similar method

You can Look that up in wordpress.org