WordPress.org

Make WordPress Core

Changeset 10504


Ignore:
Timestamp:
02/04/2009 09:45:55 PM (12 years ago)
Author:
westi
Message:

Respect the translation argument of mysql2date again. Fixes #9035 and #8989.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-includes/functions.php

    r10490 r10504  
    3838        return $i;
    3939
    40     return date_i18n( $dateformatstring, $i );
     40    if ( $translate)
     41        return date_i18n( $dateformatstring, $i );
     42    else
     43        return date( $dateformatstring, $i );
    4144}
    4245
Note: See TracChangeset for help on using the changeset viewer.