• Trying to decide which (of many) cookie notice plugins like this one to use. Have to say this seems like probably the best option, but I have a few suggestions/requests:

    1. It doesn’t fare well when the PHP is linted to conform with WordPress’s PHP coding standards. For example, the main cookie-notice.php file generates 433 errors and 16 warnings according to my PHPCS test. Any chance those can be addressed?
    2. The theme-facing JS and CSS for this plugin are both pretty small; since it’s still probably too soon to assume whatever site it’s running on is serving via HTTP/2 I would ask if it’s possible (maybe with an admin option?) to get both the CSS and JS output inline rather than enqueued as separate files? The JS file in particular has a performance cost according to tools like Y!Slow and PageSpeed/Lighthouse

    Thanks!

    • This topic was modified 5 years, 1 month ago by drywallbmb.
    • This topic was modified 5 years, 1 month ago by drywallbmb.
  • The topic ‘Improve coding standards and performance?’ is closed to new replies.