kevinruscoe/acf-star-rating-field

Does not work with SVG Font Awesome kits

alahmnat opened this issue · 0 comments

If the official Font Awesome plugin is installed and set to use a kit, and that kit is set to use SVGs, the javascript for this plugin can't update the field in wp-admin to reflect the selected star rating. This is because when a kit uses SVGs, it comments out the <i> tags, causing the JS to fail to iterate over the collection. The value will still be set and saved properly, there's just no visual indication that anything changed. If the kit is set to use Webfonts, everything behaves as expected.