Fix singular/plural translation collision, props nbachiyski and Kuba Zwolinski, fixes #8154
git-svn-id: https://develop.svn.wordpress.org/trunk@10478 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
4571d1758f
commit
dbdeed2038
@ -3237,7 +3237,7 @@ function _post_states($post) {
|
|||||||
if ( 'draft' == $post->post_status && 'draft' != $post_status )
|
if ( 'draft' == $post->post_status && 'draft' != $post_status )
|
||||||
$post_states[] = __('Draft');
|
$post_states[] = __('Draft');
|
||||||
if ( 'pending' == $post->post_status && 'pending' != $post_status )
|
if ( 'pending' == $post->post_status && 'pending' != $post_status )
|
||||||
$post_states[] = __('Pending');
|
$post_states[] = _c('Pending|post state');
|
||||||
|
|
||||||
if ( ! empty($post_states) ) {
|
if ( ! empty($post_states) ) {
|
||||||
$state_count = count($post_states);
|
$state_count = count($post_states);
|
||||||
|
Loading…
Reference in New Issue
Block a user