Plugin Directory

Changeset 1323285


Ignore:
Timestamp:
01/07/2016 03:52:14 PM (10 years ago)
Author:
Ali.Dbg
Message:

Update to v3.1.2

Location:
wp-farsi
Files:
7 added
2 edited

Legend:

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

    r1301011 r1323285  
    4444
    4545== Changelog ==
     46
     47= 3.1.2 =
     48* Added setlocale
    4649
    4750= 3.1 =
  • wp-farsi/trunk/wp-farsi.php

    r1301011 r1323285  
    66Author: Ali.Dbg 😉
    77Author URI: https://github.com/alidbg/wp-farsi
    8 Version: 3.1
     8Version: 3.1.2
    99License: GPLv3 (http://www.gnu.org/licenses/gpl-3.0.html)
    1010*/
     
    5656    if (iss_uri('/feed') or iss_uri('feed=') or defined('WXR_VERSION') or isset($autosave) or isset($lasttime) or isset($signup))
    5757        return true;
    58     else
    59         return false;
     58    return false;
    6059}
    6160
     
    7170    ini_set('default_charset', 'UTF-8');
    7271    ini_set('date.timezone', 'UTC');
     72    setlocale(LC_ALL, 'Persian_Iran.1256', 'fa_IR.utf8', 'fa_IR');
    7373    if (extension_loaded('mbstring')) {
    7474        mb_internal_encoding('UTF-8');
Note: See TracChangeset for help on using the changeset viewer.