WPIntell

Source evidence

some valid css gets filtered

Admin CSS MU · support · 2023-12-11T16:01:00+00:00

complaintsentiment
mediumseverity
0.86relevance
2replies
Evidence linked to opportunitycommercial context

Proof Health

Open evidence

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

5 / 31 rows with source links

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

0 build-decision rows missing links

0 rows here require auditable proof before promotion.

26 rows with no attached evidence

0 rows have source counts but still need direct links.

Conversation

support
Marco unresolved
Hi, just started using this plugin. I hope I am not overseeing some settings. align-self-rule and CSS custom properties are removed upon save. (object-fit gets marked as wrong.) Fix would be appreciated. Thanks. // $csstidy->parse( $css ); // $css = $csstidy->print->plain(); Comment these 2 lines in admincssmu.php It will disable invalid css parsing at all, but if you know what you’re doing, you’ll be fine. Thanks for this hint. But I need a more sustainable solution as the adjustment will be reset with an update. E.G. some kind of hook to do this from the theme side. Probably the issue is on the CSSTidy side https://github.com/Cerdic/CSSTidy as it states to be only compatible up to CSS3. (Nevertheless, I thought at least the align-self-rule is within CSS3)

Comments

2 shown
Anonymous User 16270798 2024-05-14T17:09:00+00:00

// $csstidy->parse( $css ); // $css = $csstidy->print->plain(); Comment these 2 lines in admincssmu.php It will disable invalid css parsing at all, but if you know what you’re doing, you’ll be fine.

Marco 2024-05-15T08:42:00+00:00

Thanks for this hint. But I need a more sustainable solution as the adjustment will be reset with an update. E.G. some kind of hook to do this from the theme side. Probably the issue is on the CSSTidy side https://github.com/Cerdic/CSSTidy as it states to be only compatible up to CSS3. (Nevertheless, I thought at least the align-self-rule is within CSS3)