Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Support vupdraft

    (@vupdraft)

    Do you mean like this: https://snipboard.io/qiSNG2.jpg

    You can use  echo esc_html($text); to escape content inside HTML tags (e.g., inside a <div> or <p>)

    In this case we are using it inside of the <p> tag

    Thread Starter itapress

    (@itapress)

    Hello.

    Thanks for the reply. I appreciate the clarification. However, my issue is with how you use the esc_html_e function in this line.

    The line I highlighted is:

    <p class="description"><?php echo esc_html_e('e-mails can be comma separated', 'stops-core-theme-and-plugin-updates'); ?></p>

    This leads to a redundant echo, since esc_html_e is designed to print the content directly, so there is no need to use echo.

    Thanks again.

    Plugin Support vupdraft

    (@vupdraft)

    Yes, I see it. I will pass this onto our development team

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.