escaping and translating clarification | WordPress.org

hi ๐Ÿ™‚

i have a basic understanding of escaping and translating.

what is confusing me is why this is escaped but not this.

is it because the first example is output to an admin page? escaping HTML makes more sense to me when a url or form is involved.

HTML appears to be escaped in a few wordpress theme files but not nearly as much as in others where itโ€™s just being translated, not also escaped.

iโ€™d like to have a better grasp of how and when each is used.

thanks so much for your time <3



Source link