Support » Plugin: Polylang » [Plugin: Polylang] Update to 0.9.2 -> wrong date format

Viewing 1 replies (of 1 total)
  • Plugin Author Chouby

    (@chouby)

    Correcting an old bug created a new one 🙁

    You can either use the development version (0.9.2.1) which corrects the bug: http://downloads.wordpress.org/plugin/polylang.zip
    or make yourself the correction by editing the file polylang/include/core.php at line 326 and replacing:

    unset($wp_locale);
    $wp_locale = new WP_Locale();
    $wp_locale->text_direction = get_metadata('term', $this->curlang->term_id, '_rtl', true) ? 'rtl' : 'ltr';

    by

    unset($GLOBALS['wp_locale']);
    $GLOBALS['wp_locale'] = new WP_Locale();
    $GLOBALS['wp_locale']->text_direction = get_metadata('term', $this->curlang->term_id, '_rtl', true) ? 'rtl' : 'ltr';

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: Polylang] Update to 0.9.2 -> wrong date format’ is closed to new replies.