If I try to add a new custom post type via ACF the browser freezes after clicking Add New Post Type.
I think it is related to the SVG Icon Type setting and the ACF Icon Picker tabs added in Pro 6.8.11. Loading the entire icon catalogue into the HTML as data-icons attributes, for every enabled FA style seems to much to choke on for the browser.
Steps to reproduce
- Set Font Awesome Icon Type to SVG.
- Have ACF PRO 6.3+ active.
- Go to ****** Custom Fields → Post Types → Add New ****** (
/wp-admin/post-new.php?post_type=acf-post-type). - The tab becomes unresponsive for a long time; on slower machines it stops responding entirely.
Workaround
You already ship a switch, which disables the tabs completely. Only works, if you do not need FA Icons in ACF:
add_filter( 'cs_acf_fa_tabs_enabled', '__return_false' );