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