admin管理员组

文章数量:1289529

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 3 years ago.

Improve this question

This has been cleared. Leave it cleared.

Closed. This question needs details or clarity. It is not currently accepting answers.

Want to improve this question? Add details and clarify the problem by editing this post.

Closed 3 years ago.

Improve this question

This has been cleared. Leave it cleared.

Share Improve this question edited Jul 16, 2021 at 14:23 asked Jul 14, 2021 at 8:31 user208955user208955 1
  • 1 Re: your request to "leave it cleared": The answer given makes no sense without the text of the question. Leaving the text of the question intact—even if it's a mistake you might find embarrassing—might also help another user who's having the same problem. This is a Q&A site, and without the Q, the value of the A drops significantly. – Pat J Commented Jul 16, 2021 at 15:01
Add a comment  | 

1 Answer 1

Reset to default 1

The function esc_html__, it escapes html. the sumbol < is converted into its unicode, which is &lt;, and so on. You can see the wordpress documentation on what it does and how it works.

You need to change esc_html__ to __.

When mixing html with wordpress localization functions its best to use sprintf. But for now just changing the function will do the trick

本文标签: pluginsAny idea how to get something like this to work