Make WordPress Core

Changeset 4636


Ignore:
Timestamp:
12/10/2006 12:23:10 AM (19 years ago)
Author:
markjaquith
Message:

Revert overzealous i18n from [4545]. Props nbachiyski. fixes #3438

Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/wp-includes/template-functions-general.php

    r4545 r4636  
    350350            foreach ( $arcresults as $arcresult ) {
    351351                $url    = get_day_link($arcresult->year, $arcresult->month, $arcresult->dayofmonth);
    352                 $date = sprintf(__('%1$d-%2$02d-%3$02d 00:00:00'), $arcresult->year, $arcresult->month, $arcresult->dayofmonth);
     352                $date = sprintf('%1$d-%2$02d-%3$02d 00:00:00', $arcresult->year, $arcresult->month, $arcresult->dayofmonth);
    353353                $text = mysql2date($archive_day_date_format, $date);
    354354                echo get_archives_link($url, $text, $format, $before, $after);
     
    367367                        $arc_week_start = date_i18n($archive_week_start_date_format, $arc_week['start']);
    368368                        $arc_week_end = date_i18n($archive_week_end_date_format, $arc_week['end']);
    369                         $url  = sprintf(__('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d'), get_settings('home'), '', '?', '=', $arc_year, '&', '=', $arcresult->week);
     369                        $url  = sprintf('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d', get_settings('home'), '', '?', '=', $arc_year, '&', '=', $arcresult->week);
    370370                        $text = $arc_week_start . $archive_week_separator . $arc_week_end;
    371371                        echo get_archives_link($url, $text, $format, $before, $after);
  • trunk/wp-includes/general-template.php

    r4622 r4636  
    365365            foreach ( $arcresults as $arcresult ) {
    366366                $url    = get_day_link($arcresult->year, $arcresult->month, $arcresult->dayofmonth);
    367                 $date = sprintf(__('%1$d-%2$02d-%3$02d 00:00:00'), $arcresult->year, $arcresult->month, $arcresult->dayofmonth);
     367                $date = sprintf('%1$d-%2$02d-%3$02d 00:00:00', $arcresult->year, $arcresult->month, $arcresult->dayofmonth);
    368368                $text = mysql2date($archive_day_date_format, $date);
    369369                if ($show_post_count)
     
    385385                        $arc_week_start = date_i18n($archive_week_start_date_format, $arc_week['start']);
    386386                        $arc_week_end = date_i18n($archive_week_end_date_format, $arc_week['end']);
    387                         $url  = sprintf(__('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d'), get_option('home'), '', '?', '=', $arc_year, '&', '=', $arcresult->week);
     387                        $url  = sprintf('%1$s/%2$s%3$sm%4$s%5$s%6$sw%7$s%8$d', get_option('home'), '', '?', '=', $arc_year, '&', '=', $arcresult->week);
    388388                        $text = $arc_week_start . $archive_week_separator . $arc_week_end;
    389389                        if ($show_post_count)
Note: See TracChangeset for help on using the changeset viewer.