Elementor conflict
-
Hi,
firstly, thanks for a very helpful plugin. There’s an issue, however, with the Elementor integration, specifically on line 92 (and probably also line 109) of integrations/plugins/elementor.php:
$iframe_pattern = '/elementor-widget elementor-widget-video[ |\"].*?data-settings=.*?youtube_url.*?":"(.*?)"/is';If an Elementor video widget doesn’t contain a YouTube video, e.g. if it’s a self-hosted video, those
.*?patterns will just consume characters till the next video widget that does contain a YouTube video is found, spuriously capturing any intermediate elements. Anydata-settingsattributes applied to those intermediate elements will be renamed on line 101.Replacing
.*?with[^>]*?should remedy this issue.
The topic ‘Elementor conflict’ is closed to new replies.