Changeset 1121207
- Timestamp:
- 03/26/2015 09:44:21 AM (11 years ago)
- Location:
- wp-farsi
- Files:
-
- 5 added
- 2 edited
-
tags/2.0.1 (added)
-
tags/2.0.1/index.php (added)
-
tags/2.0.1/license.html (added)
-
tags/2.0.1/pdate.php (added)
-
tags/2.0.1/wp-farsi.php (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/wp-farsi.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
wp-farsi/trunk/readme.txt
r1115226 r1121207 44 44 == Changelog == 45 45 46 = 2.0.1 = 47 * Tiny modification 48 46 49 = 2.0 = 47 50 * Support WP 3.0.1 - 4.2 -
wp-farsi/trunk/wp-farsi.php
r1115226 r1121207 6 6 Author: Ali.Dbg 7 7 Author URI: https://github.com/alidbg/wp-farsi 8 Version: 2.0 8 Version: 2.0.1 9 9 License: GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html) 10 10 */ … … 87 87 'get_the_modified_date', 'the_modified_date', 'get_the_modified_time', 'the_modified_time', 'get_post_modified_time', 'number_format_i18n' 88 88 ) 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'); 89 91 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);92 92 } 93 93
Note: See TracChangeset
for help on using the changeset viewer.