WPIntell

Source evidence

CSS classes should be plugin specific!

Buy Me a Coffee – Button and Widget Plugin · support · 2023-08-13T16:48:00+00:00

mixedsentiment
highseverity
0.83relevance
0replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

Commercial opportunities need traceable source links before they are treated as build-worthy.

4 / 31 rows with source links

12.9% of this page's analysis has direct source links.

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

27 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Lee resolved
Hello, whilst this is a great plugin to link account and website, there are some fundamental issues that are advised right from the very start when developing WordPress plugins. The CSS files for your admin styles are NOT plugin specific i.e. there are declarations in this file that are affecting other parts of WordPress. As an example, in the file buy-me-a-coffee-admin.css there are declarations that look like this: .orange { background-color: #ff813f; } .purple { background-color: #5f7fff; } .violet { background-color: #bd5fff; } .red { background-color: #ff5f5f; } .turquoise { background-color: #79d6b5; } Having this CSS file loaded is going to affect ANY div that contains these classes, not just those being used with the widget or button. This is highlighted in the WordPress plugin docs when creating plugins: https://developer.wordpress.org/plugins/plugin-basics/best-practices/#prefix-everything As a result, this causes items in the WordPress admin area to look completely misconfigured and broken (such as the Site Health dashboard widget). Please fix this. If you would like me to create a pull request on GitHub, I will happily do so.

Comments

0 shown

No comments were stored for this source.