iframe and script tag are deleted during a new import
-
Hi,
First of all thank you for this plugin.
It works great except for one thing: during a new import to create pages (from a file on my computer), if there is an iframe or script tag in the page content, the import processing will remove these tags.
For an example, i’ve got this HTML code for the content field of my page at the step 4 of the import:
<p><iframe width="450" height="250" frameborder="0" style="border:0" src="https://www.google.com/maps/embed/v1/place?key=XXX&q={latlong_xy[1]}" allowfullscreen></iframe></p>
When the import processing is complete, the content of my page will be:
<p></p>
Same thing for script tag:
<div id="map"></div> <script src="https://maps.googleapis.com/maps/api/js?key=XXX&callback=initMap&libraries=&v=weekly" async></script>
will become:
<div id="map"></div>
I’m an admin user, but I tried to give permission to add shortcode to any user role: the issue is still there.
WordPress and WP Import Export Lite versions are the latest (5.6.2 for WP, 3.4.1 for your plugin). I didn’t have this issue with “WP all import” plugin, so I think this issue is related to your plugin.
Is there a solution to keep iframe and script tag during the import process?
Regards,
- The topic ‘iframe and script tag are deleted during a new import’ is closed to new replies.