Invalid HTML
-
Current CSS <link> tags are invalid when not in the document <head> because they don’t contain the attribute property (i.e. https://stackoverflow.com/questions/18549726/element-link-is-missing-required-attribute-property ). Ultimately this causes invalid HTML per W3C validator.
Fix is to edit line 2733 of class-bwp-minify.php to:
. esc_attr($media) . "' property='stylesheet' />\r\n";
and 2741 to:
. esc_attr($media) . "' property='stylesheet' />\r\n";
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Invalid HTML’ is closed to new replies.