bobbingwide / oik

OIK Information Kit
https://www.oik-plugins.com/oik-plugins/oik
GNU General Public License v2.0
2 stars 0 forks source link

Warning: Invalid DOM property `fill-rule`. Did you mean `fillRule` ? #203

Closed bobbingwide closed 2 years ago

bobbingwide commented 2 years ago

This Warning, along with another for clip-rule did you mean clipRule appears in s.b/wp55/acf-pro. It also appears in s.b/oikcom.

bobbingwide commented 2 years ago

It was produced from the PayPal icon used in oik/paypal block. I'd downloaded the SVG as paypal-mark-color.svg from https://www.paypalobjects.com/paypal-ui/logos/svg/paypal-mark-color.svg When I copied the code into the paypal-icon.js file, I didn't convert fill-rule to fillRule nor clip-rule to clipRule. These attributes were used in 3 <path> tags.

Changing the paypal-icon.js resolved the issue. Done as part of oik issue 184

bobbingwide commented 2 years ago

Delivered in v4.8.1