WordPress.org

Make WordPress Core

Ticket #9730: 9730.extra.wp_get_archives.patch

File 9730.extra.wp_get_archives.patch, 775 bytes (added by hakre, 6 years ago)

one line left. should be editied wether true or false.

  • wp-includes/general-template.php

     
    835835                        foreach ( (array) $arcresults as $arcresult ) { 
    836836                                $url    = get_day_link($arcresult->year, $arcresult->month, $arcresult->dayofmonth); 
    837837                                $date = sprintf('%1$d-%2$02d-%3$02d 00:00:00', $arcresult->year, $arcresult->month, $arcresult->dayofmonth); 
    838                                 $text = mysql2date($archive_day_date_format, $date); 
     838                                $text = mysql2date($archive_day_date_format, $date, true); 
    839839                                if ($show_post_count) 
    840840                                        $after = ' ('.$arcresult->posts.')'.$afterafter; 
    841841                                $output .= get_archives_link($url, $text, $format, $before, $after);