Support » Plugin: W3 Total Cache » W3 Made all AMP Pages Invalid

  • Resolved DjiXas

    (@djixas)


    w3-total-cache.0.10.2 has no issues with html minify or all options on

    Latest version broke all amp pages

    https://github.com/ahmedkaludi/accelerated-mobile-pages/issues/3954

    <div style="position: relative; padding-bottom: 57%;"><iframe style="position: absolute; top: 0; left: 0;" src="https://gfycat.com/ifr/SimilarVainDragonfly" width="100%" height="100%" frameborder="0" scrolling="no" allowfullscreen="allowfullscreen"></iframe></div>

    TURNS INTO

    <div class><amp-iframe src=https://gfycat.com/ifr/SimilarVainDragonfly frameborder height=400 allowfullscreen class sandbox="allow-scripts allow-same-origin allow-popups allow-forms allow-top-navigation" layout=fixed-height><div placeholder class=amp-wp-iframe-placeholder></div></amp-iframe></div>

    Notice frameborder , it’s empty and blank and causes google amp pages to invalid, all of our pages are now invalid

    • This topic was modified 8 months ago by .
    • This topic was modified 8 months ago by .
Viewing 1 replies (of 1 total)
  • Plugin Support Marko Vasiljevic

    (@vmarko)

    Hello @djixas

    I am sorry about the issue you are experiencing when HTML minify is enabled.
    This has already been reported and it will be fixed in the future release
    for now you should Replace line 356 in lib/Minify/Minify/HTML.php
    if ( empty( $m[3] ) ) {
    with
    if ( $m[3] === '' ) {

    Thank you!

Viewing 1 replies (of 1 total)
  • The topic ‘W3 Made all AMP Pages Invalid’ is closed to new replies.