WordPress.org

Make WordPress Core


Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/4.4/src/wp-includes/functions.php

    r35667 r36063  
    172172function wp_maybe_decline_date( $date ) {
    173173    global $wp_locale;
     174
     175    // i18n functions are not available in SHORTINIT mode
     176    if ( ! function_exists( '_x' ) ) {
     177        return $date;
     178    }
    174179
    175180    /* translators: If months in your language require a genitive case,
Note: See TracChangeset for help on using the changeset viewer.