#37781 closed defect (bug) (fixed)
Replace _x() with __() and translators comments in wp-includes/post-template.php
Reported by: | ramiy | Owned by: | SergeyBiryukov |
---|---|---|---|
Milestone: | 4.7 | Priority: | normal |
Severity: | normal | Version: | |
Component: | I18N | Keywords: | |
Focuses: | Cc: |
Description
Context function _x()
is used to differ two similar strings with different meanings. Translators comments are used to describe %s
placeholders.
The attached patch is replacing:
/* translators: post revision title: 1: author avatar, 2: author name, 3: time ago, 4: date */ _x( '%1$s %2$s, %3$s ago (%4$s)', 'post revision title' )
With:
/* translators: post revision title: 1: author avatar, 2: author name, 3: time ago, 4: date */ __( '%1$s %2$s, %3$s ago (%4$s)' )
Attachments (3)
Change History (6)
Note: See
TracTickets for help on using
tickets.
In 38327: