Make WordPress Core

Ticket #46278: 46278.diff

File 46278.diff, 472 bytes (added by mukesh27, 6 years ago)

Patch.

  • wp-includes/functions.php

    diff --git a/wp-includes/functions.php b/wp-includes/functions.php
    index 214c134..b843a03 100644
    a b function human_readable_duration( $duration = '' ) { 
    389389                $human_readable_duration[] = sprintf( _n( '%s second', '%s seconds', $second ), (int) $second );
    390390        }
    391391
    392         return implode( ', ', $human_readable_duration );
     392        return implode( _x( ', ', 'duration' ), $human_readable_duration );
    393393}
    394394
    395395/**