Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter sohbetodamorg

    (@sohbetodamorg)

                    foreach ( $attributes as $name => $value ) {
                            switch ( $name ) {
                                    // case 'src':
                                    case 'alt':
                                    case 'class':
                                    case 'srcset':
                                    case 'sizes':
                                    case 'on':
                                            $out[ $name ] = $value;
                                            break;
    

    Hello I disabled src set in includes/sanitizers/class-amp-img-sanitizer.php file its fixed.

    Problem solved.
    Thanks,

    The change you noted will remove all images from your site. We have a better fix for this in 0.4 (images with an empty src are no longer included on the page).

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Lots of src error’ is closed to new replies.