[wp-trac] [WordPress Trac] #21759: Twenty Twelve: Author name is always displayed even on a single author blog
WordPress Trac
wp-trac at lists.automattic.com
Wed Sep 5 11:21:41 UTC 2012
#21759: Twenty Twelve: Author name is always displayed even on a single author blog
---------------------------+---------------------------
Reporter: iamtakashi | Owner: lancewillett
Type: enhancement | Status: reopened
Priority: normal | Milestone: 3.5
Component: Bundled Theme | Version:
Severity: normal | Resolution:
Keywords: has-patch |
---------------------------+---------------------------
Comment (by SergeyBiryukov):
Replying to [comment:9 westi]:
> It would be better to add the span around the replacement string before
passing it to sprintf as this keeps the translation "simple"
[attachment:21759.3.diff] is an attempt to do that, but it wouldn't allow
swapping `%3$s` and `%4$s`, which is bad.
Adding the span to `$author` alone doesn't seem feasible without adding
new placeholders in this case, since it needs to include "by".
[attachment:21759.4.diff] adds new placeholders, not sure if it looks
better than [21761].
[21761] is flexible enough, I guess I'd prefer to leave it as is.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/21759#comment:10>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list