[wp-trac] [WordPress Trac] #43537: _n() returns plural when count is zero
WordPress Trac
noreply at wordpress.org
Tue Mar 13 11:45:08 UTC 2018
#43537: _n() returns plural when count is zero
--------------------------+-----------------------------
Reporter: arena | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
_n() returns plural when count is zero
{{{#!php
<?php
sprintf( _n( 'penny', 'pence', 0 ), 0 );
}}}
should return 'penny' and not 'pence'.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43537>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list