'; - /* translators: 1: Date, 2: Time. */ - printf( __( 'Last checked on %1$s at %2$s.' ), date_i18n( __( 'F j, Y' ), $last_update_check ), date_i18n( __( 'g:i a T' ), $last_update_check ) ); + + printf( + /* translators: 1: Date, 2: Time. */ + __( 'Last checked on %1$s at %2$s.' ), + /* translators: Last update date format. See https://www.php.net/manual/datetime.format.php */ + date_i18n( __( 'F j, Y' ), $last_update_check ), + /* translators: Last update time format. See https://www.php.net/manual/datetime.format.php */ + date_i18n( __( 'g:i a T' ), $last_update_check ) + ); echo ' ' . __( 'Check again.' ) . ''; echo '
'; diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 17cce96074..28fb3394d2 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -1715,12 +1715,15 @@ function get_the_archive_title() { $title = get_the_author(); $prefix = _x( 'Author:', 'author archive title prefix' ); } elseif ( is_year() ) { + /* translators: See https://www.php.net/manual/datetime.format.php */ $title = get_the_date( _x( 'Y', 'yearly archives date format' ) ); $prefix = _x( 'Year:', 'date archive title prefix' ); } elseif ( is_month() ) { + /* translators: See https://www.php.net/manual/datetime.format.php */ $title = get_the_date( _x( 'F Y', 'monthly archives date format' ) ); $prefix = _x( 'Month:', 'date archive title prefix' ); } elseif ( is_day() ) { + /* translators: See https://www.php.net/manual/datetime.format.php */ $title = get_the_date( _x( 'F j, Y', 'daily archives date format' ) ); $prefix = _x( 'Day:', 'date archive title prefix' ); } elseif ( is_tax( 'post_format' ) ) { diff --git a/wp-includes/theme-compat/sidebar.php b/wp-includes/theme-compat/sidebar.php index da4efaa86c..f27fce5780 100644 --- a/wp-includes/theme-compat/sidebar.php +++ b/wp-includes/theme-compat/sidebar.php @@ -56,6 +56,7 @@ _deprecated_file( /* translators: 1: Site link, 2: Archive date. */ __( 'You are currently browsing the %1$s blog archives for the day %2$s.' ), sprintf( '%2$s', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ), + /* translators: Daily archives date format. See https://www.php.net/manual/datetime.format.php */ get_the_time( __( 'l, F jS, Y' ) ) ); ?> @@ -68,6 +69,7 @@ _deprecated_file( /* translators: 1: Site link, 2: Archive month. */ __( 'You are currently browsing the %1$s blog archives for %2$s.' ), sprintf( '%2$s', get_bloginfo( 'url' ), get_bloginfo( 'name' ) ), + /* translators: Monthly archives date format. See https://www.php.net/manual/datetime.format.php */ get_the_time( __( 'F, Y' ) ) ); ?> diff --git a/wp-includes/version.php b/wp-includes/version.php index 8cb2b53372..f33e0c0cf9 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -16,7 +16,7 @@ * * @global string $wp_version */ -$wp_version = '6.5-alpha-57135'; +$wp_version = '6.5-alpha-57136'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.