Changeset 10897 for trunk/wp-includes/functions.php
- Timestamp:
- 04/08/2009 07:56:58 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/functions.php
r10862 r10897 97 97 $gmt = true; 98 98 } 99 99 100 // store original value for language with untypical grammars 101 // see http://core.trac.wordpress.org/ticket/9396 102 $req_format = $dateformatstring; 103 100 104 $datefunc = $gmt? 'gmdate' : 'date'; 101 105 … … 118 122 } 119 123 $j = @$datefunc( $dateformatstring, $i ); 124 // allow plugins to redo this entirely for languages with untypical grammars 125 $j = apply_filters('date_i18n', $j, $req_format, $unixtimestamp, $gmt); 120 126 return $j; 121 127 }
Note: See TracChangeset
for help on using the changeset viewer.