Invalid markup error when use AMP transitional mode.
-
Hi,
I use AMP transitional mode. I can see that there’re several AMP validation errors from this plugin.
Here is the one error details.
Invalid markup: <script … > code invalid_element node_attributes type: text/javascript node_name script parent_name body text /* <![CDATA[ */ var adsforwp_obj = {"ajax_url":"https:\/\/www.mysite.com\/wp-admin\/admin-ajax.php","adsforwp_front_nonce":"7d87ac70b3","ad_performance_tracker":"1"}; /* ]]> */ type js_error sources [ { "type": "plugin", "name": "ads-for-wp", "function": "adsforwp_frontend_enqueue", "hook": "wp_enqueue_scripts", "handle": "adsforwp-ads-front-js" }, { "type": "core", "name": "wp-includes", "function": "wp_enqueue_scripts", "hook": "wp_head", "handle": "adsforwp-ads-front-js" }, { "type": "core", "name": "wp-includes", "function": "wp_print_footer_scripts", "hook": "wp_footer" }, { "type": "core", "name": "wp-includes", "function": "_wp_footer_scripts", "hook": "wp_print_footer_scripts" } ]
- The topic ‘Invalid markup error when use AMP transitional mode.’ is closed to new replies.