Plugin conflict with cc-scripts (or presumably any plugin or non-src script

[ad_1]

I’m using the cc-scripts plugin to add some custom javascript to each page.

The plugin is old, but I don’t think that is particularly relevant.

It injects:

<script type="javascript">
  blah blah
</script>

into the page, and then speedup-javascript adds a:
<link rel="preload" href="1" as="script">

because wp_scripts is returning a src=1. The bug might not be in your plugin, but I haven’t found the source yet.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer