Warning: The type attribute is unnecessary for JavaScript resources.
From line 10, column 146; to line 10, column 176
feed/" /> <script type="text/javascript">window
Warning: The type attribute for the style element is not needed and should be omitted.
From line 11, column 1798; to line 11, column 1820
</script> <style type="text/css">img.wp
Warning: The type attribute for the style element is not needed and should be omitted.
From line 23, column 193; to line 23, column 251
a='all' /><style id='kirki-styles-global-inline-css' type='text/css'>.envel
Warning: The type attribute is unnecessary for JavaScript resources.
From line 23, column 905; to line 23, column 1010
}</style> <script async type="text/javascript" src="http://....../wp-content/cache/minify/df983.js"></scri
Warning: The type attribute for the style element is not needed and should be omitted.
From line 70, column 126; to line 70, column 167
70.png" /><style type="text/css" id="wp-custom-css">@media
Warning: The type attribute is unnecessary for JavaScript resources.
From line 441, column 156; to line 441, column 261
iv></div> <script defer type="text/javascript" src="http://......./wp-content/cache/minify/26938.js"></scri
Warning: The type attribute is unnecessary for JavaScript resources.
From line 441, column 272; to line 441, column 302
</script> <script type='text/javascript'>/* */
Warning: The type attribute is unnecessary for JavaScript resources.
From line 443, column 17; to line 443, column 122
</script> <script defer type="text/javascript" src="http://......../wp-content/cache/minify/6ce07.js"></scri
ये त्रुटियां W3C द्वारा कुछ नए परिचय हैं और उन्होंने पिछले 3-4 दिनों में ही रेंगना शुरू कर दिया है।
हम इस तरह से स्क्रिप्ट को एंक्यू करते हैं →
wp_register_script( 'custom-js', get_template_directory_uri() . '/js/custom.js', array( 'jquery' ), '1.1', true );
wp_enqueue_script( 'custom-js' );
क्या हम इसे किसी भी उपरोक्त विधि से ठीक कर सकते हैं?
अद्यतन →
ये वास्तविक त्रुटियां हैं। लाल बॉक्स में W3 कुल कैश से आ रहे हैं।
script_loader_tag
हुक, आप एक ऐसा करने में सक्षम हो सकता है str_replace()
उन्हें हटाने के लिए।
alt
टैग को भूलने , या किसी टैग को बंद करने के लिए भूलने) के लिए उपकरण के रूप में किया जाना चाहिए , लेकिन इसे एक मानक के रूप में नहीं देखा जाना चाहिए जैसा कि यह हुआ करता था।