• Resolved danielwerner23

    (@danielwerner23)


    Hi there,
    how can i prevent (or remove?) these scripts? I dont know where they come from. Any ideas?

    <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>
Viewing 5 replies - 1 through 5 (of 5 total)
  • Moderator t-p

    (@t-p)

    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

    (@danielwerner23)

    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

    (@t-p)

    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

    (@danielwerner23)

    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

    (@t-p)

    Glad its sorted ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Prevent loading scripts’ is closed to new replies.