acf-typography
acf-typography copied to clipboard
Issue with ACF blocks without ACF fields
If I make a custom ACF Block, but don't have any ACF fields with data then the plugin generates a warning.
The warning references line 93 in the file includes/functions.php
This is caused by the fact that the data array key doesn't exist in block['attrs']['data']. Adding a check in front of it would solve this issue.