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 ea3e51cffc..553858668b 100644 --- a/wp-includes/version.php +++ b/wp-includes/version.php @@ -4,7 +4,7 @@ * * @global string $wp_version */ -$wp_version = '4.4.1-alpha-36060'; +$wp_version = '4.4.1-alpha-36063'; /** * Holds the WordPress DB revision, increments when changes are made to the WordPress DB schema.