Ticket #26561: 26561.patch
| File 26561.patch, 1.7 KB (added by , 12 years ago) |
|---|
-
wp-includes/general-template.php
1228 1228 <tr>'; 1229 1229 1230 1230 if ( $previous ) { 1231 $calendar_output .= "\n\t\t".'<td colspan="3" id="prev"><a href="' . get_month_link($previous->year, $previous->month) . '" title="' . esc_attr( sprintf(__('View posts for %1$s %2$s'), $wp_locale->get_month($previous->month), date('Y', mktime(0, 0 , 0, $previous->month, 1, $previous->year)))) . '">« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . '</a></td>';1231 $calendar_output .= "\n\t\t".'<td colspan="3" id="prev"><a href="' . get_month_link($previous->year, $previous->month) . '">« ' . $wp_locale->get_month_abbrev($wp_locale->get_month($previous->month)) . '</a></td>'; 1232 1232 } else { 1233 1233 $calendar_output .= "\n\t\t".'<td colspan="3" id="prev" class="pad"> </td>'; 1234 1234 } … … 1236 1236 $calendar_output .= "\n\t\t".'<td class="pad"> </td>'; 1237 1237 1238 1238 if ( $next ) { 1239 $calendar_output .= "\n\t\t".'<td colspan="3" id="next"><a href="' . get_month_link($next->year, $next->month) . '" title="' . esc_attr( sprintf(__('View posts for %1$s %2$s'), $wp_locale->get_month($next->month), date('Y', mktime(0, 0 , 0, $next->month, 1, $next->year))) ) . '">' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' »</a></td>';1239 $calendar_output .= "\n\t\t".'<td colspan="3" id="next"><a href="' . get_month_link($next->year, $next->month) . '">' . $wp_locale->get_month_abbrev($wp_locale->get_month($next->month)) . ' »</a></td>'; 1240 1240 } else { 1241 1241 $calendar_output .= "\n\t\t".'<td colspan="3" id="next" class="pad"> </td>'; 1242 1242 }