Closed justintadlock closed 7 years ago
That does feel weird. Will update to have it like esc_attr__( '…', 'checathlon' )
.
@justintadlock was this what you ment: 8e4680c98222f31ed5e2a5a28556c277a9a3e3f2.
Yes, that's it.
Also, that should use esc_html
rather than esc_attr
. Just picked up on that.
I'll change it tomorrow. Bed time around here.
On Dec 2, 2016 22:37, "Justin Tadlock" notifications@github.com wrote:
Yes, that's it.
Also, that should use esc_html rather than esc_attr. Just picked up on that.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/samikeijonen/checathlon/issues/10#issuecomment-264556452, or mute the thread https://github.com/notifications/unsubscribe-auth/ABvG_9uKhivkHTJUi2YW4ZCx917XzgT6ks5rEIF4gaJpZM4LB6gA .
Changed in commit 05fd922ecd190a5c654cbd8899c6d46321ac40e3.
In
inc/functions-filters.php
, the excerpt more filter is a bit odd at first glance:The
%s
itself can't be translated. However, I suppose a translator could simply use different text or add text next to the%s
. I like to add the…
inside of the translation so that it can be changed.I wanted to bring this up to get your thoughts and make sure it was intentional.