Changeset 52136
- Timestamp:
- 11/11/2021 04:27:44 PM (3 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/general-template.php
r51957 r52136 1377 1377 if ( is_archive() && ! empty( $m ) ) { 1378 1378 $my_year = substr( $m, 0, 4 ); 1379 $my_month = $wp_locale->get_month( substr( $m, 4, 2 ));1379 $my_month = substr( $m, 4, 2 ); 1380 1380 $my_day = (int) substr( $m, 6, 2 ); 1381 $title = $my_year . ( $my_month ? $t_sep . $my_month : '' ) . ( $my_day ? $t_sep . $my_day : '' ); 1381 $title = $my_year . 1382 ( $my_month ? $t_sep . $wp_locale->get_month( $my_month ) : '' ) . 1383 ( $my_day ? $t_sep . $my_day : '' ); 1382 1384 } 1383 1385
Note: See TracChangeset
for help on using the changeset viewer.