Support » Plugin: Post Grid » HTML media display HTML code instead of image

  • Resolved Michael

    (@mdahlke)


    Plugin Version: 2.1.19

    The $html_media variable is being wrapped with esc_html which is causing HTML to display on the page instead of the image.

    File: wp-content/plugins/post-grid/templates/post-grid-hook.php
    Line: 568
    <div class="layer-media"><?php echo esc_html($html_media); ?></div>

    Should be(??):
    <div class="layer-media"><?php echo $html_media; ?></div>

    • This topic was modified 3 months, 3 weeks ago by Michael.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.