Timeline for Why should I escape translatable strings? and how shall i do that?
Current License: CC BY-SA 4.0
5 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 25, 2019 at 10:20 | comment | added | user145078 | Perfect. thanks | |
May 25, 2019 at 10:10 | comment | added | Jacob Peattie |
Right. Or just use esc_html_e() , which also echoes.
|
|
May 25, 2019 at 10:02 | comment | added | user145078 | Thank you , so that means if i am doing echo __('Error : The post type is not WooCommerce Product','pgggo'); it should be echo esc_html__('Error : The post type is not WooCommerce Product','pgggo'); | |
May 25, 2019 at 10:00 | vote | accept | CommunityBot | ||
May 25, 2019 at 9:45 | history | answered | Jacob Peattie | CC BY-SA 4.0 |