wpexpertsio / password-protected

Password protect your WordPress site quickly and simply
https://wordpress.org/plugins/password-protected/
69 stars 63 forks source link

Warnings of password-protected page in w3 validator #161

Closed ghost closed 4 years ago

ghost commented 4 years ago

In order to make the password-protected page passed in https://validator.w3.org/:

Screenshot 2020-05-08 at 15 44 03

Remove attribute type="text/javascript" from <script> tags. Remove attribute type="text/css" from <style> tags.

from the /plugins/password-protected/theme/password-protected-login.php file.

I'd love to send a pull request, but it seems I have mistaken the branches, sorry @benhuson 😊

benhuson commented 4 years ago

Thanks. Fix in https://github.com/benhuson/password-protected/commit/27ab4620f6a0fc387510aa51d171b15e6666c7cc

Will be in next release.