Viewing 1 replies (of 1 total)
  • Thread Starter emilianomaina

    (@emilianomaina)

    Some exampe found by the AMP Plugin site scan:

    {
    	"node_name": "script",
    	"parent_name": "head",
    	"code": "DISALLOWED_TAG",
    	"type": "js_error",
    	"node_attributes": {
    		"type": "text/javascript",
    		"id": "ugb-block-frontend-js-js-extra"
    	},
    	"text": "\n/* <![CDATA[ */\nvar stackable = {__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__};\n/* ]]> */\n",
    	"node_type": "ELEMENT",
    	"sources": [
    		{
    			"type": "core",
    			"name": "wp-includes",
    			"file": "script-loader.php",
    			"line": 2031,
    			"function": "wp_print_head_scripts",
    			"hook": "wp_head",
    			"priority": 9
    		},
    		{
    			"type": "plugin",
    			"name": "stackable-ultimate-gutenberg-blocks",
    			"file": "src/deprecated/v2/init.php",
    			"line": 181,
    			"function": "stackable_block_assets_v2",
    			"hook": "init",
    			"priority": 10,
    			"dependency_type": "script",
    			"extra_key": "data",
    			"text": "var stackable = {\"restUrl\":\"https:\\/\\/lamiacasaelettrica.com\\/wp-json\\/\"};",
    			"handle": "ugb-block-frontend-js-v2"
    		},
    		{
    			"type": "plugin",
    			"name": "stackable-ultimate-gutenberg-blocks",
    			"file": "src/init.php",
    			"line": 146,
    			"function": "Stackable_Init::load_frontend_scripts_conditionally_head",
    			"hook": "template_redirect",
    			"priority": 10,
    			"dependency_type": "script",
    			"extra_key": "data",
    			"text": "var stackable = {\"restUrl\":\"https:\\/\\/lamiacasaelettrica.com\\/wp-json\\/\"};",
    			"handle": "ugb-block-frontend-js"
    		}
    	],
    	"removed": true,
    	"reviewed": false
    }
    {
    	"node_name": "script",
    	"parent_name": "head",
    	"code": "DISALLOWED_TAG",
    	"type": "js_error",
    	"node_attributes": {
    		"type": "text/javascript",
    		"id": "ugb-block-frontend-js-v2-js-extra"
    	},
    	"text": "\n/* <![CDATA[ */\nvar stackable = {__DOUBLE_QUOTED_STRING__:__DOUBLE_QUOTED_STRING__};\n/* ]]> */\n",
    	"node_type": "ELEMENT",
    	"sources": [
    		{
    			"type": "core",
    			"name": "wp-includes",
    			"file": "script-loader.php",
    			"line": 2031,
    			"function": "wp_print_head_scripts",
    			"hook": "wp_head",
    			"priority": 9
    		},
    		{
    			"type": "plugin",
    			"name": "stackable-ultimate-gutenberg-blocks",
    			"file": "src/deprecated/v2/init.php",
    			"line": 181,
    			"function": "stackable_block_assets_v2",
    			"hook": "init",
    			"priority": 10,
    			"dependency_type": "script",
    			"extra_key": "data",
    			"text": "var stackable = {\"restUrl\":\"https:\\/\\/lamiacasaelettrica.com\\/wp-json\\/\"};",
    			"handle": "ugb-block-frontend-js-v2"
    		},
    		{
    			"type": "plugin",
    			"name": "stackable-ultimate-gutenberg-blocks",
    			"file": "src/init.php",
    			"line": 146,
    			"function": "Stackable_Init::load_frontend_scripts_conditionally_head",
    			"hook": "template_redirect",
    			"priority": 10,
    			"dependency_type": "script",
    			"extra_key": "data",
    			"text": "var stackable = {\"restUrl\":\"https:\\/\\/lamiacasaelettrica.com\\/wp-json\\/\"};",
    			"handle": "ugb-block-frontend-js"
    		}
    	],
    	"removed": true,
    	"reviewed": false
    }
    {
    	"node_name": "script",
    	"parent_name": "body",
    	"code": "DISALLOWED_TAG",
    	"type": "js_error",
    	"node_attributes": [],
    	"text": "requestAnimationFrame(() => document.body.classList.add( __DOUBLE_QUOTED_STRING__ ))",
    	"node_type": "ELEMENT",
    	"sources": [
    		{
    			"type": "plugin",
    			"name": "stackable-ultimate-gutenberg-blocks",
    			"file": "src/init.php",
    			"line": 415,
    			"function": "Stackable_Init::init_animation",
    			"hook": "wp_footer",
    			"priority": 10
    		}
    	],
    	"removed": true,
    	"reviewed": false
    }
Viewing 1 replies (of 1 total)

The topic ‘Stackable – Gutenberg Blocks Plugin with AMP Incompatibility’ is closed to new replies.