Plugin Directory

Changeset 1121207


Ignore:
Timestamp:
03/26/2015 09:44:21 AM (11 years ago)
Author:
Ali.Dbg
Message:

Update to v2.0.1

Location:
wp-farsi
Files:
5 added
2 edited

Legend:

Unmodified
Added
Removed
  • wp-farsi/trunk/readme.txt

    r1115226 r1121207  
    4444== Changelog ==
    4545
     46= 2.0.1 =
     47* Tiny modification
     48
    4649= 2.0 =
    4750* Support WP 3.0.1 - 4.2
  • wp-farsi/trunk/wp-farsi.php

    r1115226 r1121207  
    66Author: Ali.Dbg
    77Author URI: https://github.com/alidbg/wp-farsi
    8 Version: 2.0
     8Version: 2.0.1
    99License: GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
    1010*/
     
    8787        'get_the_modified_date', 'the_modified_date', 'get_the_modified_time', 'the_modified_time', 'get_post_modified_time', 'number_format_i18n'
    8888    ) as $i) remove_all_filters($i);
     89    add_filter('date_i18n', 'wpfa_date_i18n', 10, 3);
     90    if (WPFA_NUMS === "on") add_filter('number_format_i18n', 'numbers_fa');
    8991    if (mysql2date("Y m", "2014 12", true) !== mysql2date("Y m", "2014 12", false)) wpfa_patch_func(true);
    90     if (WPFA_NUMS === "on") add_filter('number_format_i18n', 'numbers_fa');
    91     add_filter('date_i18n', 'wpfa_date_i18n', 10, 3);
    9292}
    9393
Note: See TracChangeset for help on using the changeset viewer.