• Resolved dlangpap

    (@dlangpap)


    Hi,

    The plugin creates an invalid markup if the content contains ” (quotes).

    I updated line 29 in wp-last-modified-info/includes/frontend/schema.php

    from

    “text”: “<?php echo preg_replace( ‘/\r|\n/’, ”, strip_tags( strip_shortcodes( $post->post_content ) ) ); ?>”,

    to

    “text”: “<?php echo preg_replace( ‘/\r|\n/’, ”, strip_tags( strip_shortcodes( wptexturize($post->post_content ) )) ); ?>”,

    Thanks,

    Dirk L.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Plugin creates invalid markup’ is closed to new replies.