Archived topic
what happened with clear GP code after WP 4.9 ?
4 replies · Started by Rust on December 1, 2017
Hi, dear
what happened after wp 4.9 ?
generate Press always has mega clear code, but now its wrong after update 4.9, if look on code validator.
sorry, i use google translator
Hi there,
Can I see an example of what you mean? WP 4.9 shouldn't have any affect on GP or your code.
And so with all my sites on generatepress. I thought only from me, but I look, and on yours too. But it was never like that. Before buying generatepress, I checked including your site-there were always 0 errors in the code. All this appeared after the appearance of wp 4.9 really believe me, I always check the purity of the code. please pay attention to this.
And it's still on your and my sites enabled autoptimize plugin. Then only 5-6 errors in the validator. And if you turn off this plugin, then almost 20 errors.
Those warnings are simply saying you don't have to specify the type of script using the <script> tag anymore.
WordPress still defines <script> tags as javascript, which isn't overly necessary, but it also doesn't hurt. Those warnings, while ugly, have no other affect on your website.