mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-06-28 14:20:15 +00:00
git-svn-id: https://develop.svn.wordpress.org/trunk@10504 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -37,7 +37,10 @@ function mysql2date( $dateformatstring, $mysqlstring, $translate = true ) {
|
||||
if( 'U' == $dateformatstring )
|
||||
return $i;
|
||||
|
||||
return date_i18n( $dateformatstring, $i );
|
||||
if ( $translate)
|
||||
return date_i18n( $dateformatstring, $i );
|
||||
else
|
||||
return date( $dateformatstring, $i );
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user