Support » Plugin: The Social Links » Widget render fails w/ esc_html calls

  • Widget render fails w/ esc_html calls.

    New version of widget esc_html handling fails to render html.
    Removing the newly added esc_html calls from before and after widget fixes the problem:


    echo esc_html( $args[‘before_widget’] );
    echo esc_html( $args[‘after_widget’] );

    <section id=”the_social_links-2″ class=”widget widget_the_social_links”><div class=”widget-wrap”>

    <section id="the_social_links-2" class="widget widget_the_social_links"><div class="widget-wrap">

    Unclear why one needs to escape html for widget wrappers.

Viewing 1 replies (of 1 total)
  • Plugin Author seagyn


    Hi Paul,

    Apologies for that – we’re releasing an update now. It was a Code Sniffing fail!

Viewing 1 replies (of 1 total)
  • The topic ‘Widget render fails w/ esc_html calls’ is closed to new replies.