Title: Prevent loading scripts
Last modified: October 25, 2023

---

# Prevent loading scripts

 *  Resolved [danielwerner23](https://wordpress.org/support/users/danielwerner23/)
 * (@danielwerner23)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-loading-scripts/)
 * Hi there,
   how can i prevent (or remove?) these scripts? I dont know where they
   come from. Any ideas?
 *     ```wp-block-code
       <script type='text/javascript' src='//localhost:3000/wp-includes/js/dist/vendor/wp-polyfill-inert.min.js?ver=3.1.2' id='wp-polyfill-inert-js'></script>
   
       <script type='text/javascript' src='//localhost:3000/wp-includes/js/dist/vendor/regenerator-runtime.min.js?ver=0.13.11' id='regenerator-runtime-js'></script>
   
       <script type='text/javascript' src='//localhost:3000/wp-includes/js/dist/vendor/wp-polyfill.min.js?ver=3.15.0' id='wp-polyfill-js'></script>
   
       <script type='text/javascript' src='//localhost:3000/wp-includes/js/dist/vendor/react.min.js?ver=18.2.0' id='react-js'></script>
   
       <script type='text/javascript' src='//localhost:3000/wp-includes/js/dist/vendor/react-dom.min.js?ver=18.2.0' id='react-dom-js'></script>
   
       <script type='text/javascript' src='//localhost:3000/wp-includes/js/dist/escape-html.min.js?ver=03e27a7b6ae14f7afaa6' id='wp-escape-html-js'></script>
   
       <script type='text/javascript' src='//localhost:3000/wp-includes/js/dist/element.min.js?ver=ed1c7604880e8b574b40' id='wp-element-js'></script>
   
       </body>
       </html>
       ```
   
    -  This topic was modified 2 years, 6 months ago by [danielwerner23](https://wordpress.org/support/users/danielwerner23/).
    -  This topic was modified 2 years, 6 months ago by [danielwerner23](https://wordpress.org/support/users/danielwerner23/).

Viewing 5 replies - 1 through 5 (of 5 total)

 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-loading-scripts/#post-17151027)
 * >  I dont know where they come from. Any ideas?
 * These WP Core file and come from `/wp-includes/` folder.
 * > how can i prevent (or remove?) these scripts?
 * Core Files are the files & folders in wp-admin, wp-includes and all of the files
   in the root WordPress folder. You need them all to run WordPress properly.
 *  Thread Starter [danielwerner23](https://wordpress.org/support/users/danielwerner23/)
 * (@danielwerner23)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-loading-scripts/#post-17157326)
 * In all my other wordpress instances (projects with the same current wordpress
   version) these files aren’t loaded. So do you have an idea how i can find the
   inititation of loading or i can debug to prefent the loading of these files?
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-loading-scripts/#post-17157955)
 * > In all my other wordpress instances (projects with the same current wordpress
   > version) these files aren’t loaded…
 * Same physical servers, accounts, hosts, plugins, theme, configurations etc. on
   all `other wordpress instances` and the one with this issue?
 *  Thread Starter [danielwerner23](https://wordpress.org/support/users/danielwerner23/)
 * (@danielwerner23)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-loading-scripts/#post-17159119)
 * Problem solved. wp_enqueue_script “_string[]_ $deps = array()” param got to “[]”
   and all the other scripts are gone. If i need react later i can fall back to 
   another value.
 * Thanks for the help.
 *  Moderator [t-p](https://wordpress.org/support/users/t-p/)
 * (@t-p)
 * [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-loading-scripts/#post-17159137)
 * Glad its sorted 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Prevent loading scripts’ is closed to new replies.

 * In: [Developing with WordPress](https://wordpress.org/support/forum/wp-advanced/)
 * 5 replies
 * 2 participants
 * Last reply from: [t-p](https://wordpress.org/support/users/t-p/)
 * Last activity: [2 years, 6 months ago](https://wordpress.org/support/topic/prevent-loading-scripts/#post-17159137)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
