diff --git a/wp-includes/functions.php b/wp-includes/functions.php index e3fb35317c..b3781639e2 100644 --- a/wp-includes/functions.php +++ b/wp-includes/functions.php @@ -172,6 +172,11 @@ function date_i18n( $dateformatstring, $unixtimestamp = false, $gmt = false ) { function wp_maybe_decline_date( $date ) { global $wp_locale; + // i18n functions are not available in SHORTINIT mode + if ( ! function_exists( '_x' ) ) { + return $date; + } + /* translators: If months in your language require a genitive case, * translate this to 'on'. Do not translate into your own language. */ diff --git a/wp-includes/version.php b/wp-includes/version.php index ce7718a65c..3934b6ef2c 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.5-alpha-35879'; +$wp_version = '4.5-alpha-35880'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.