Closed. This question needs details or clarity. It is not currently accepting answers.admin管理员组文章数量:1289529
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 3 years ago.
Improve this questionThis 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 questionThis 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
1 Answer
Reset to default 1The function esc_html__
, it escapes html. the sumbol <
is converted into its unicode, which is <
, 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
版权声明:本文标题:plugins - Any idea how to get something like this to work? 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1741437277a2378707.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论