diff --git a/wp-includes/general-template.php b/wp-includes/general-template.php index 40eb84342b..53fe900cd5 100644 --- a/wp-includes/general-template.php +++ b/wp-includes/general-template.php @@ -2167,32 +2167,6 @@ function get_calendar( $initial = true, $echo = true ) { $calendar_output .= ' - - - '; - - if ( $previous ) { - $calendar_output .= "\n\t\t" . '« ' . - $wp_locale->get_month_abbrev( $wp_locale->get_month( $previous->month ) ) . - ''; - } else { - $calendar_output .= "\n\t\t" . ' '; - } - - $calendar_output .= "\n\t\t" . ' '; - - if ( $next ) { - $calendar_output .= "\n\t\t" . '' . - $wp_locale->get_month_abbrev( $wp_locale->get_month( $next->month ) ) . - ' »'; - } else { - $calendar_output .= "\n\t\t" . ' '; - } - - $calendar_output .= ' - - - '; @@ -2260,7 +2234,32 @@ function get_calendar( $initial = true, $echo = true ) { if ( 0 != $pad && 7 != $pad ) { $calendar_output .= "\n\t\t" . ' '; } - $calendar_output .= "\n\t\n\t\n\t"; + $calendar_output .= "\n\t\n\t"; + + $calendar_output .= "\n\t"; + + $calendar_output .= ''; $cache[ $key ] = $calendar_output; wp_cache_set( 'get_calendar', $cache, 'calendar' ); diff --git a/wp-includes/version.php b/wp-includes/version.php index 7add99d760..868d131827 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -13,7 +13,7 @@ * * @global string $wp_version */ -$wp_version = '5.4-alpha-47222'; +$wp_version = '5.4-alpha-47223'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.