[wp-trac] [WordPress Trac] #38383: Twenty Seventeen: Incorrect use of `_x()` in `twentyseventeen_posted_on()`
WordPress Trac
noreply at wordpress.org
Thu Oct 20 09:41:04 UTC 2016
#38383: Twenty Seventeen: Incorrect use of `_x()` in `twentyseventeen_posted_on()`
---------------------------+-------------------------
Reporter: ocean90 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: 4.7
Component: Bundled Theme | Version:
Severity: normal | Keywords: needs-patch
Focuses: |
---------------------------+-------------------------
https://github.com/WordPress/twentyseventeen/blob/5b5e4e86c2b8343863d7633758987da93c2bf2e8/inc
/template-tags.php#L20
_x() is used to differ two similar strings with different meanings.
Translators comments are used to describe placeholders.
Same for twentyseventeen_time_link(), see
https://github.com/WordPress/twentyseventeen/blob/a15f8d1ed4003007b8e25330dc787cda7b7a32f7/inc
/template-tags.php#L48.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/38383>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list