mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-08-11 20:30:23 +00:00
Bug fixes
git-svn-id: https://develop.svn.wordpress.org/trunk@1980 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -556,7 +556,7 @@ function human_time_diff( $from, $to = '' ) {
|
||||
$diff = (int) ($to - $from);
|
||||
if ($diff <= 3600) {
|
||||
$mins = round($diff / 60);
|
||||
$since = sprintf( __('%s mins', $mins) );
|
||||
$since = sprintf( __('%s mins'), $mins);
|
||||
} else if (($diff <= 86400) && ($diff > 3600)) {
|
||||
$hours = round($diff / 3600);
|
||||
if ($hours <= 1)
|
||||
|
||||
Reference in New Issue
Block a user