~canonical-sysadmins/wordpress/4.4.2

« back to all changes in this revision

Viewing changes to wp-includes/functions.php

  • Committer: Barry Price
  • Date: 2016-01-07 06:09:42 UTC
  • mfrom: (1.1.12 upstream)
  • Revision ID: barry.price@canonical.com-20160107060942-1ghv2tqiwm8z0j36
Merge WP4.4.1 from upstream

Show diffs side-by-side

added added

removed removed

Lines of Context:
172
172
function wp_maybe_decline_date( $date ) {
173
173
        global $wp_locale;
174
174
 
 
175
        // i18n functions are not available in SHORTINIT mode
 
176
        if ( ! function_exists( '_x' ) ) {
 
177
                return $date;
 
178
        }
 
179
 
175
180
        /* translators: If months in your language require a genitive case,
176
181
         * translate this to 'on'. Do not translate into your own language.
177
182
         */