The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums Back End Clean up script tags in WordPress Reply To: Clean up script tags in WordPress

[email protected]

I can be done, but from what I have researched requires modifications to the Core files in WordPress mainly class.wp-scripts.php – in do_item is where they get created.

There is no hook for this function.

It maybe possible to write an extending of the function to remove the type item.

Making changes to the Core files will lead to redoing the changes to them or loosing the changes on an update.