Changeset 2344
- Timestamp:
- 02/15/2005 12:50:23 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/wp-includes/template-functions-general.php
r2327 r2344 222 222 if(!empty($monthnum) && !empty($year)) { 223 223 $my_year = $year; 224 $my_month = $month[ $monthnum];224 $my_month = $month[str_pad($monthnum, 2, '0', STR_PAD_LEFT)]; 225 225 } elseif(!empty($m)) { 226 226 $my_year = substr($m, 0, 4); 227 $my_month = $month[s tr_pad($monthnum, 2, '0', STR_PAD_LEFT)];227 $my_month = $month[substr($m, 4, 2)]; 228 228 } 229 229
Note: See TracChangeset
for help on using the changeset viewer.