diff --git a/src/wp-includes/general-template.php b/src/wp-includes/general-template.php
index 6b67cd9a71..e22ef43855 100644
a
|
b
|
function wp_title( $sep = '»', $display = true, $seplocation = '' ) { |
1346 | 1346 | // If there's a month. |
1347 | 1347 | if ( is_archive() && ! empty( $m ) ) { |
1348 | 1348 | $my_year = substr( $m, 0, 4 ); |
1349 | | $my_month = $wp_locale->get_month( substr( $m, 4, 2 ) ); |
| 1349 | $my_month = substr( $m, 4, 2 ); |
1350 | 1350 | $my_day = (int) substr( $m, 6, 2 ); |
1351 | | $title = $my_year . ( $my_month ? $t_sep . $my_month : '' ) . ( $my_day ? $t_sep . $my_day : '' ); |
| 1351 | $title = $my_year . ( $my_month ? $t_sep . $wp_locale->get_month( $my_month ) : '' ) . ( $my_day ? $t_sep . $my_day : '' ); |
1352 | 1352 | } |
1353 | 1353 | |
1354 | 1354 | // If there's a year. |