• Hi All,
    I seem to have alot of javascript and stylesheet tags in the head tag. I have a plug-in that updates often and it instructs you to
    1) deactivate plug-in
    2) uninstall old version
    3) install update
    Does this remove the old script tags and CSS for that plug-in?

    And as far as plug-ins in general, does the “delete” button in the plug-in list delete the script tags and stylesheets for that plug-in get totally removed from the head tag?

Viewing 2 replies - 1 through 2 (of 2 total)
  • Dear aubrey114,

    Yes, if you uninstall a plugin that (when active) placed scripts in your source then that will be removed. This is also the case for plug-ins in general.

    However of course, if the plugin fails to deactivate or there is an error in deleting it there might be pieces of code that will still be present. You would have to look into that manually in that case. However in my personal opinion I found that plugins most of the time will remove fine and clean.

    Do note that if you have a caching plugin enabled, the ‘old’ scripts may even show when you removed the plugin. In that case you should clear your cache (and in case of CDN usage) and CDN for the changes to reflect.

    Hope this helps. If it does, can you please mark this topic resolved?

    Kind regards,

    CS_WordPress

    Thread Starter aubrey114

    (@aubrey114)

    Thank you CS_WordPress

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does Uninstalling a plug-in remove scripts in head div?’ is closed to new replies.