Changes between Version 3 and Version 4 of Ticket #28502, comment 23
- Timestamp:
- 04/10/2015 10:55:14 PM (10 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28502, comment 23
v3 v4 1 1 Basically, `_n()` should only be used for the same string with different numbers, not for different strings. 2 2 3 `_n( '%d item', '%d items', $number )` is correct. `_n( 'One item', '%d items', $number )` is *kinda* correct, but there are some issues: 3 `_n( '%d item', '%d items', $number )` is correct. 4 5 `_n( 'One item', '%d items', $number )` is *kinda* correct, but there are some issues: 4 6 5 7 * `'One item'` is not guaranteed to be used for exactly one item, but we treat it like it is.