# WordPress Escape

**URL:** <https://www.phphelp.com/t/wordpress-escape/34275>\
**Category:** Help with WordPress\
**Created:** [November 18, 2021, 7:06am UTC](https://www.phphelp.com/t/wordpress-escape/34275 "2021-11-18T07:06:25Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![phpman88](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/d78d45/32.png) [@phpman88](https://www.phphelp.com/u/phpman88)\
**Post date:** [November 18, 2021, 7:06am UTC](https://www.phphelp.com/t/wordpress-escape/34275/1 "2021-11-18T07:06:25Z")

</div>

I submitted a plugin to WordPress repository. They rejected and ask me to escape these fields :

device\_status\_tracker/device\_status\_tracker.php:220: Tracking Number: \<?php echo $tracking\_code; 

Would I use esc\_atrr for these fields? Also for fields where I’m doing the following: echo “test”  
How would I esc that as well?

---

<div class="post-metadata">

**Author:** ![phpman88](https://www.phphelp.com/letter_avatar_proxy/v4/letter/p/d78d45/32.png) [@phpman88](https://www.phphelp.com/u/phpman88)\
**Post date:** [November 19, 2021, 4:12am UTC](https://www.phphelp.com/t/wordpress-escape/34275/2 "2021-11-19T04:12:33Z")

</div>

Nevermind figured it out.
