• Resolved rsyd

    (@rsyd)


    Hi, in latest amp plugin update (Version 1.1.0 )

    amp-state with src is always removed by plugin,, here is error status,,

    Invalid markup:
    <amp-state … >
    code
    invalid_element
    node_attributes
    id: productsState	
    src: https://domain.com/wp-admin/admin-ajax.php?action=blablabla&id=12345		
    node_name
    amp-state
    parent_name
    body
    type
    html_element_error
    sources
    []

    my code example is :
    <amp-state id="productsState" src="<?php echo ''.get_site_url().'/wp-admin/admin-ajax.php?action=blablabalb&id='.$post_id; ?>"></amp-state>

    i dont know, but in prev version of amp plugin not removing that amp-state..
    so my site workd well

    Pls help thanks

    • This topic was modified 6 years, 11 months ago by rsyd.
    • This topic was modified 6 years, 11 months ago by rsyd.
    • This topic was modified 6 years, 11 months ago by rsyd.
    • This topic was modified 6 years, 11 months ago by rsyd.
    • This topic was modified 6 years, 11 months ago by rsyd. Reason: typo
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘amp-state always error’ is closed to new replies.