Anh Tran


That JS part comes from the Meta Box Conditional Logic extension. It uses WordPress’s wp_localize_script to output PHP variables to JavaScript. Any code that use wp_localize_script will have similar output, because it’s WordPress’s behavior. So we can’t do anything here.

Besides, this is not an error, just a warning. In HTML5, to make things short, type attribute is not necessary for script tag, but having it doesn’t cause any harm or invalidation.