AJAX Refresh Issue
-
Not sure if anyone is still supporting this plugin or not, but I have an issue with recommended fix.
When editing a Black Studio TinyMCE Widget, the Font Awesome Shortcodes button shows up, but as soon as you Save, Notice errors show up. The reason for this is get_current_screen() returns null after and AJAX refresh.
I’ve solved this issue by adding
!$screen ||
to the if statements on lines 13 and 37 of includes/action-filters.php. Can one of the contributors please test and commit this change?This change also makes it so that the error doesn’t show up when editing a Text Block of WP Bakery Visual Composer due to its AJAX nature.
https://www.ads-software.com/plugins/font-awesome-shortcodes/
- The topic ‘AJAX Refresh Issue’ is closed to new replies.