HTML5 validation issue
-
There is a mirror issue (https://validator.w3.org/):
Warning: The type attribute for the style element is not needed and should be omitted.
The best way is to use the function wp_add_inline_style instead of direct output. I’m testing following code:
function hook_wp_enqueue_style() { wp_register_style( 'blc-inline', false ); wp_enqueue_style( 'blc-inline' ); wp_add_inline_style( 'blc-inline', $this->plugin_conf->options['broken_link_css'] ); }It fixes the issue because it’s use native WP functions which remove type attribute if it isn’t needed…
I hope that you will fix it in next release.
References:
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
The topic ‘HTML5 validation issue’ is closed to new replies.