Plugin Directory

Changeset 3239677


Ignore:
Timestamp:
02/12/2025 09:25:54 PM (14 months ago)
Author:
creativform
Message:

2.1.8

  • Added support and integration for Polylang plugin
  • Improved and optimized permalink algorithm
  • Optimized plugin loading
  • Added new filters for developers
Location:
serbian-transliteration
Files:
139 added
7 edited

Legend:

Unmodified
Added
Removed
  • serbian-transliteration/trunk/CHANGELOG.txt

    r3229791 r3239677  
     1= 2.1.8 =
     2* Added support and integration for Polylang plugin
     3* Improved and optimized permalink algorithm
     4* Optimized plugin loading
     5* Added new filters for developers
     6
    17= 2.1.7 =
    28* Optimized main plugin control model
  • serbian-transliteration/trunk/classes/plugins.php

    r3142709 r3239677  
    1111        $active_plugins = apply_filters('active_plugins', get_option('active_plugins'));
    1212       
     13        // Filter active plugins
     14        $active_plugins = apply_filters('rstr_active_plugins', $active_plugins);
     15       
    1316        $found_classes = [];
    1417        foreach ($active_plugins as $plugin) {
     
    1922            $class_name = 'Transliteration_Plugin_' . $this->sanitize_class_name($plugin_folder);
    2023           
     24            // Filter current class
     25            $class_name = apply_filters('rstr_active_plugin_class', $class_name, $plugin_folder, $plugin);
     26           
    2127            // Check if the class exists and add it to the array if it does
    22             if (class_exists($class_name)) {
     28            if ($class_name && class_exists($class_name)) {
    2329                $found_classes[] = $class_name;
    2430            }
    2531        }
     32       
     33        // FIlter all classes
     34        $found_classes = apply_filters('rstr_active_plugin_classes', $found_classes, $active_plugins);
    2635       
    2736        return $found_classes;
  • serbian-transliteration/trunk/classes/themes.php

    r3142709 r3239677  
    2222        $class_name = 'Transliteration_Theme_' . $this->sanitize_class_name($theme_name);
    2323       
     24        // Filter active theme class
     25        $class_name = apply_filters('rstr_active_theme_class', $class_name, $theme_name, $theme);
     26       
    2427        // Check if the class exists and instantiate it if it does
    25         if (class_exists($class_name)) {
     28        if ($class_name && class_exists($class_name)) {
    2629            return $class_name;
    2730        }
  • serbian-transliteration/trunk/classes/utilities.php

    r3224920 r3239677  
    175175                    $get_locale = get_user_locale( wp_get_current_user() );
    176176                }
     177               
     178                if($get_locale == 'sr') {
     179                    $get_locale = 'sr_RS';
     180                } else if($get_locale == 'mk') {
     181                    $get_locale = 'mk_MK';
     182                } else if($get_locale == 'bs') {
     183                    $get_locale = 'bs_BA';
     184                } else if($get_locale == 'bg') {
     185                    $get_locale = 'bg_BG';
     186                } else if($get_locale == 'uz') {
     187                    $get_locale = 'uz_UZ';
     188                } else if($get_locale == 'ru') {
     189                    $get_locale = 'ru_RU';
     190                }
    177191            }
    178192
     
    316330                ['function_exists', 'liteSpeed_purge_all'],
    317331                ['function_exists', 'w3tc_flush_all'],
     332                ['function_exists', 'wpfc_clear_all_cache'],
    318333                [$w3_plugin_totalcache],
    319                 ['function_exists', 'wpfc_clear_all_cache'],
    320334                ['function_exists', 'rocket_clean_domain'],
    321335                ['function_exists', 'prune_super_cache', 'get_supercache_dir'],
     
    659673     * @author        Ivijan-Stefan Stipic
    660674    */
    661     public static function already_cyrillic(){
     675    public static function already_cyrillic() {
    662676        return self::cached_static('already_cyrillic', function() {
    663             return in_array(self::get_locale(), apply_filters('rstr_already_cyrillic', array('sr_RS','mk_MK', 'bel', 'bg_BG', 'ru_RU', 'sah', 'uk', 'kk', 'el', 'ar', 'hy'))) !== false;
     677            return in_array(self::get_locale(), apply_filters('rstr_already_cyrillic', array('sr_RS','mk_MK', 'bg_BG', 'ru_RU', 'uk', 'kk', 'el', 'ar', 'hy', 'sr', 'mk', 'bg', 'ru', 'bel', 'sah', 'bs', 'kir', 'mn', 'ba', 'uz', 'ka', 'tg', 'cnr', 'bs_BA'))) !== ( 1 === 2 );
    664678        });
    665679    }
     
    10121026    */
    10131027    public static function normalize_latin_string($str){
    1014         $map = apply_filters('rstr/utilities/normalize_latin_string', array(
    1015             'À'=>'A', 'Á'=>'A', 'Â'=>'A', 'Ã'=>'A', 'Ä'=>'A', 'Å'=>'A', 'Ă'=>'A', 'Ā'=>'A', 'Ą'=>'A', 'Æ'=>'A', 'Ǽ'=>'A',
    1016             'à'=>'a', 'á'=>'a', 'â'=>'a', 'ã'=>'a', 'ä'=>'a', 'å'=>'a', 'ă'=>'a', 'ā'=>'a', 'ą'=>'a', 'æ'=>'a', 'ǽ'=>'a',
    1017 
    1018             'Þ'=>'B', 'þ'=>'b', 'ß'=>'Ss',
    1019 
    1020             'Ç'=>'C', 'Č'=>'C', 'Ć'=>'C', 'Ĉ'=>'C', 'Ċ'=>'C',
    1021             'ç'=>'c', 'č'=>'c', 'ć'=>'c', 'ĉ'=>'c', 'ċ'=>'c',
    1022 
    1023             'Đ'=>'Dj', 'Ď'=>'D',
    1024             'đ'=>'dj', 'ď'=>'d',
    1025 
    1026             'È'=>'E', 'É'=>'E', 'Ê'=>'E', 'Ë'=>'E', 'Ĕ'=>'E', 'Ē'=>'E', 'Ę'=>'E', 'Ė'=>'E',
    1027             'è'=>'e', 'é'=>'e', 'ê'=>'e', 'ë'=>'e', 'ĕ'=>'e', 'ē'=>'e', 'ę'=>'e', 'ė'=>'e',
    1028 
    1029             'Ĝ'=>'G', 'Ğ'=>'G', 'Ġ'=>'G', 'Ģ'=>'G',
    1030             'ĝ'=>'g', 'ğ'=>'g', 'ġ'=>'g', 'ģ'=>'g',
    1031 
    1032             'Ĥ'=>'H', 'Ħ'=>'H',
    1033             'ĥ'=>'h', 'ħ'=>'h',
    1034 
    1035             'Ì'=>'I', 'Í'=>'I', 'Î'=>'I', 'Ï'=>'I', 'İ'=>'I', 'Ĩ'=>'I', 'Ī'=>'I', 'Ĭ'=>'I', 'Į'=>'I',
    1036             'ì'=>'i', 'í'=>'i', 'î'=>'i', 'ï'=>'i', 'į'=>'i', 'ĩ'=>'i', 'ī'=>'i', 'ĭ'=>'i', 'ı'=>'i',
    1037 
    1038             'Ĵ'=>'J',
    1039             'ĵ'=>'j',
    1040 
    1041             'Ķ'=>'K', 'Ƙ'=>'K',
    1042             'ķ'=>'k', 'ĸ'=>'k',
    1043 
    1044             'Ĺ'=>'L', 'Ļ'=>'L', 'Ľ'=>'L', 'Ŀ'=>'L', 'Ł'=>'L',
    1045             'ĺ'=>'l', 'ļ'=>'l', 'ľ'=>'l', 'ŀ'=>'l', 'ł'=>'l',
    1046 
    1047             'Ñ'=>'N', 'Ń'=>'N', 'Ň'=>'N', 'Ņ'=>'N', 'Ŋ'=>'N',
    1048             'ñ'=>'n', 'ń'=>'n', 'ň'=>'n', 'ņ'=>'n', 'ŋ'=>'n', 'ʼn'=>'n',
    1049 
    1050             'Ò'=>'O', 'Ó'=>'O', 'Ô'=>'O', 'Õ'=>'O', 'Ö'=>'O', 'Ø'=>'O', 'Ō'=>'O', 'Ŏ'=>'O', 'Ő'=>'O', 'Œ'=>'O',
    1051             'ò'=>'o', 'ó'=>'o', 'ô'=>'o', 'õ'=>'o', 'ö'=>'o', 'ø'=>'o', 'ō'=>'o', 'ŏ'=>'o', 'ő'=>'o', 'œ'=>'o', 'ð'=>'o',
    1052 
    1053             'Ŕ'=>'R', 'Ř'=>'R',
    1054             'ŕ'=>'r', 'ř'=>'r', 'ŗ'=>'r',
    1055 
    1056             'Š'=>'S', 'Ŝ'=>'S', 'Ś'=>'S', 'Ş'=>'S',
    1057             'š'=>'s', 'ŝ'=>'s', 'ś'=>'s', 'ş'=>'s',
    1058 
    1059             'Ŧ'=>'T', 'Ţ'=>'T', 'Ť'=>'T',
    1060             'ŧ'=>'t', 'ţ'=>'t', 'ť'=>'t',
    1061 
    1062             'Ù'=>'U', 'Ú'=>'U', 'Û'=>'U', 'Ü'=>'U', 'Ũ'=>'U', 'Ū'=>'U', 'Ŭ'=>'U', 'Ů'=>'U', 'Ű'=>'U', 'Ų'=>'U',
    1063             'ù'=>'u', 'ú'=>'u', 'û'=>'u', 'ü'=>'u', 'ũ'=>'u', 'ū'=>'u', 'ŭ'=>'u', 'ů'=>'u', 'ű'=>'u', 'ų'=>'u',
    1064 
    1065             'Ŵ'=>'W', 'Ẁ'=>'W', 'Ẃ'=>'W', 'Ẅ'=>'W',
    1066             'ŵ'=>'w', 'ẁ'=>'w', 'ẃ'=>'w', 'ẅ'=>'w',
    1067 
    1068             'Ý'=>'Y', 'Ÿ'=>'Y', 'Ŷ'=>'Y',
    1069             'ý'=>'y', 'ÿ'=>'y', 'ŷ'=>'y',
    1070 
    1071             'Ž'=>'Z', 'Ź'=>'Z', 'Ż'=>'Z',
    1072             'ž'=>'z', 'ź'=>'z', 'ż'=>'z',
    1073            
    1074             'ა' => 'a', 'Ა' => 'A', 'ბ' => 'b', 'Ბ' => 'B', 'გ' => 'g', 'Გ' => 'G',
    1075             'დ' => 'd', 'Დ' => 'D', 'ე' => 'e', 'Ე' => 'E', 'ვ' => 'v', 'Ვ' => 'V',
    1076             'ზ' => 'z', 'Ზ' => 'Z', 'თ' => 'th', 'Თ' => 'Th', 'ი' => 'i', 'Ი' => 'I',
    1077             'კ' => 'k', 'Კ' => 'K', 'ლ' => 'l', 'Ლ' => 'L', 'მ' => 'm', 'Მ' => 'M',
    1078             'ნ' => 'n', 'Ნ' => 'N', 'ო' => 'o', 'Ო' => 'O', 'პ' => 'p', 'Პ' => 'P',
    1079             'ჟ' => 'zh', 'Ჟ' => 'Zh', 'რ' => 'r', 'Რ' => 'R', 'ს' => 's', 'Ს' => 'S',
    1080             'ტ' => 't', 'Ტ' => 'T', 'უ' => 'u', 'Უ' => 'U', 'ფ' => 'ph', 'Ფ' => 'Ph',
    1081             'ქ' => 'q', 'Ქ' => 'Q', 'ღ' => 'gh', 'Ღ' => 'Gh', 'ყ' => 'qh', 'Ყ' => 'Qh',
    1082             'შ' => 'sh', 'Შ' => 'Sh', 'ჩ' => 'ch', 'Ჩ' => 'Ch', 'ც' => 'ts', 'Ც' => 'Ts',
    1083             'ძ' => 'dz', 'Ძ' => 'Dz', 'წ' => 'ts', 'Წ' => 'Ts', 'ჭ' => 'tch', 'Ჭ' => 'Tch',
    1084             'ხ' => 'kh', 'Ხ' => 'Kh', 'ჯ' => 'j', 'Ჯ' => 'J', 'ჰ' => 'h', 'Ჰ' => 'H',
    1085 
    1086             '“'=>'"', '”'=>'"', '‘'=>"'", '’'=>"'", '•'=>'-', '…'=>'...', '—'=>'-', '–'=>'-', '¿'=>'?', '¡'=>'!', '°'=>__(' degrees ', 'serbian-transliteration'),
    1087             '¼'=>' 1/4 ', '½'=>' 1/2 ', '¾'=>' 3/4 ', '⅓'=>' 1/3 ', '⅔'=>' 2/3 ', '⅛'=>' 1/8 ', '⅜'=>' 3/8 ', '⅝'=>' 5/8 ', '⅞'=>' 7/8 ',
    1088             '÷'=>__(' divided by ', 'serbian-transliteration'), '×'=>__(' times ', 'serbian-transliteration'), '±'=>__(' plus-minus ', 'serbian-transliteration'), '√'=>__(' square root ', 'serbian-transliteration'),
    1089             '∞'=>__(' infinity ', 'serbian-transliteration'), '≈'=>__(' almost equal to ', 'serbian-transliteration'), '≠'=>__(' not equal to ', 'serbian-transliteration'),
    1090             '≡'=>__(' identical to ', 'serbian-transliteration'), '≤'=>__(' less than or equal to ', 'serbian-transliteration'), '≥'=>__(' greater than or equal to ', 'serbian-transliteration'),
    1091             '←'=>__(' left ', 'serbian-transliteration'), '→'=>__(' right ', 'serbian-transliteration'), '↑'=>__(' up ', 'serbian-transliteration'), '↓'=>__(' down ', 'serbian-transliteration'),
    1092             '↔'=>__(' left and right ', 'serbian-transliteration'), '↕'=>__(' up and down ', 'serbian-transliteration'), '℅'=>__(' care of ', 'serbian-transliteration'),
    1093             '℮' => __(' estimated ', 'serbian-transliteration'), 'Ω'=>__(' ohm ', 'serbian-transliteration'), '♀'=>__(' female ', 'serbian-transliteration'), '♂'=>__(' male ', 'serbian-transliteration'),
    1094             '©'=>__(' Copyright ', 'serbian-transliteration'), '®'=>__(' Registered ', 'serbian-transliteration'), '™' =>__(' Trademark ', 'serbian-transliteration'),
    1095         ), $str);
     1028       
     1029        $map = apply_filters('rstr/utilities/normalize_latin_string', RSTR_NORMALIZE_LATIN_STRING_MAP, $str);
    10961030
    10971031        $str = strtr($str, $map);
     
    13231257        });
    13241258    }
     1259   
     1260    /*
     1261     * Check if it's Light Speed cache active
     1262     * @return  true/false
     1263     */
     1264    public static function is_lscache_active() {
     1265        return self::cached_static('is_lscache_active', function() {
     1266            // Check if LiteSpeed Cache plugin is enabled
     1267            if (defined('LSCACHE_ENABLED') && LSCACHE_ENABLED) {
     1268                return true;
     1269            }
     1270           
     1271            // Check if the server software is LiteSpeed
     1272            $software = $_SERVER['SERVER_SOFTWARE'] ?? NULL;
     1273            if ($software && stripos($software, 'LiteSpeed') !== false) {
     1274                return true;
     1275            }
     1276           
     1277            // Check for LiteSpeed Cache specific HTTP header
     1278            if (!empty($_SERVER['HTTP_X_LITESPEED_CACHE'] ?? NULL)) {
     1279                return true;
     1280            }
     1281           
     1282            // Default: LiteSpeed Cache is not active
     1283            return false;
     1284        });
     1285    }
     1286   
     1287    /*
     1288     * Check if it's Light Speed is cachable
     1289     * @return  true/false
     1290     */
     1291    public static function litespeed_is_cachable() {
     1292        return self::cached_static('litespeed_is_cachable', function() {
     1293            return (defined('LSCACHE_ENABLED') && LSCACHE_ENABLED && function_exists('litespeed_is_cachable') && litespeed_is_cachable());
     1294        });
     1295    }
    13251296
    13261297}
  • serbian-transliteration/trunk/constants.php

    r3206785 r3239677  
    9797    define('RSTR_WOOCOMMERCE', (function_exists('is_plugin_active') ? is_plugin_active('woocommerce/woocommerce.php') : false));
    9898}
     99
     100// Normalize Latin String map
     101if (!defined('RSTR_NORMALIZE_LATIN_STRING_MAP')) {
     102    define('RSTR_NORMALIZE_LATIN_STRING_MAP', array(
     103        'À'=>'A', 'Á'=>'A', 'Â'=>'A', 'Ã'=>'A', 'Ä'=>'A', 'Å'=>'A', 'Ă'=>'A', 'Ā'=>'A', 'Ą'=>'A', 'Æ'=>'A', 'Ǽ'=>'A',
     104        'à'=>'a', 'á'=>'a', 'â'=>'a', 'ã'=>'a', 'ä'=>'a', 'å'=>'a', 'ă'=>'a', 'ā'=>'a', 'ą'=>'a', 'æ'=>'a', 'ǽ'=>'a',
     105
     106        'Þ'=>'B', 'þ'=>'b', 'ß'=>'Ss',
     107
     108        'Ç'=>'C', 'Č'=>'C', 'Ć'=>'C', 'Ĉ'=>'C', 'Ċ'=>'C',
     109        'ç'=>'c', 'č'=>'c', 'ć'=>'c', 'ĉ'=>'c', 'ċ'=>'c',
     110
     111        'Đ'=>'Dj', 'Ď'=>'D',
     112        'đ'=>'dj', 'ď'=>'d',
     113
     114        'È'=>'E', 'É'=>'E', 'Ê'=>'E', 'Ë'=>'E', 'Ĕ'=>'E', 'Ē'=>'E', 'Ę'=>'E', 'Ė'=>'E',
     115        'è'=>'e', 'é'=>'e', 'ê'=>'e', 'ë'=>'e', 'ĕ'=>'e', 'ē'=>'e', 'ę'=>'e', 'ė'=>'e',
     116
     117        'Ĝ'=>'G', 'Ğ'=>'G', 'Ġ'=>'G', 'Ģ'=>'G',
     118        'ĝ'=>'g', 'ğ'=>'g', 'ġ'=>'g', 'ģ'=>'g',
     119
     120        'Ĥ'=>'H', 'Ħ'=>'H',
     121        'ĥ'=>'h', 'ħ'=>'h',
     122
     123        'Ì'=>'I', 'Í'=>'I', 'Î'=>'I', 'Ï'=>'I', 'İ'=>'I', 'Ĩ'=>'I', 'Ī'=>'I', 'Ĭ'=>'I', 'Į'=>'I',
     124        'ì'=>'i', 'í'=>'i', 'î'=>'i', 'ï'=>'i', 'į'=>'i', 'ĩ'=>'i', 'ī'=>'i', 'ĭ'=>'i', 'ı'=>'i',
     125
     126        'Ĵ'=>'J',
     127        'ĵ'=>'j',
     128
     129        'Ķ'=>'K', 'Ƙ'=>'K',
     130        'ķ'=>'k', 'ĸ'=>'k',
     131
     132        'Ĺ'=>'L', 'Ļ'=>'L', 'Ľ'=>'L', 'Ŀ'=>'L', 'Ł'=>'L',
     133        'ĺ'=>'l', 'ļ'=>'l', 'ľ'=>'l', 'ŀ'=>'l', 'ł'=>'l',
     134
     135        'Ñ'=>'N', 'Ń'=>'N', 'Ň'=>'N', 'Ņ'=>'N', 'Ŋ'=>'N',
     136        'ñ'=>'n', 'ń'=>'n', 'ň'=>'n', 'ņ'=>'n', 'ŋ'=>'n', 'ʼn'=>'n',
     137
     138        'Ò'=>'O', 'Ó'=>'O', 'Ô'=>'O', 'Õ'=>'O', 'Ö'=>'O', 'Ø'=>'O', 'Ō'=>'O', 'Ŏ'=>'O', 'Ő'=>'O', 'Œ'=>'O',
     139        'ò'=>'o', 'ó'=>'o', 'ô'=>'o', 'õ'=>'o', 'ö'=>'o', 'ø'=>'o', 'ō'=>'o', 'ŏ'=>'o', 'ő'=>'o', 'œ'=>'o', 'ð'=>'o',
     140
     141        'Ŕ'=>'R', 'Ř'=>'R',
     142        'ŕ'=>'r', 'ř'=>'r', 'ŗ'=>'r',
     143
     144        'Š'=>'S', 'Ŝ'=>'S', 'Ś'=>'S', 'Ş'=>'S',
     145        'š'=>'s', 'ŝ'=>'s', 'ś'=>'s', 'ş'=>'s',
     146
     147        'Ŧ'=>'T', 'Ţ'=>'T', 'Ť'=>'T',
     148        'ŧ'=>'t', 'ţ'=>'t', 'ť'=>'t',
     149
     150        'Ù'=>'U', 'Ú'=>'U', 'Û'=>'U', 'Ü'=>'U', 'Ũ'=>'U', 'Ū'=>'U', 'Ŭ'=>'U', 'Ů'=>'U', 'Ű'=>'U', 'Ų'=>'U',
     151        'ù'=>'u', 'ú'=>'u', 'û'=>'u', 'ü'=>'u', 'ũ'=>'u', 'ū'=>'u', 'ŭ'=>'u', 'ů'=>'u', 'ű'=>'u', 'ų'=>'u',
     152
     153        'Ŵ'=>'W', 'Ẁ'=>'W', 'Ẃ'=>'W', 'Ẅ'=>'W',
     154        'ŵ'=>'w', 'ẁ'=>'w', 'ẃ'=>'w', 'ẅ'=>'w',
     155
     156        'Ý'=>'Y', 'Ÿ'=>'Y', 'Ŷ'=>'Y',
     157        'ý'=>'y', 'ÿ'=>'y', 'ŷ'=>'y',
     158
     159        'Ž'=>'Z', 'Ź'=>'Z', 'Ż'=>'Z',
     160        'ž'=>'z', 'ź'=>'z', 'ż'=>'z',
     161       
     162        'ა' => 'a', 'Ა' => 'A', 'ბ' => 'b', 'Ბ' => 'B', 'გ' => 'g', 'Გ' => 'G',
     163        'დ' => 'd', 'Დ' => 'D', 'ე' => 'e', 'Ე' => 'E', 'ვ' => 'v', 'Ვ' => 'V',
     164        'ზ' => 'z', 'Ზ' => 'Z', 'თ' => 'th', 'Თ' => 'Th', 'ი' => 'i', 'Ი' => 'I',
     165        'კ' => 'k', 'Კ' => 'K', 'ლ' => 'l', 'Ლ' => 'L', 'მ' => 'm', 'Მ' => 'M',
     166        'ნ' => 'n', 'Ნ' => 'N', 'ო' => 'o', 'Ო' => 'O', 'პ' => 'p', 'Პ' => 'P',
     167        'ჟ' => 'zh', 'Ჟ' => 'Zh', 'რ' => 'r', 'Რ' => 'R', 'ს' => 's', 'Ს' => 'S',
     168        'ტ' => 't', 'Ტ' => 'T', 'უ' => 'u', 'Უ' => 'U', 'ფ' => 'ph', 'Ფ' => 'Ph',
     169        'ქ' => 'q', 'Ქ' => 'Q', 'ღ' => 'gh', 'Ღ' => 'Gh', 'ყ' => 'qh', 'Ყ' => 'Qh',
     170        'შ' => 'sh', 'Შ' => 'Sh', 'ჩ' => 'ch', 'Ჩ' => 'Ch', 'ც' => 'ts', 'Ც' => 'Ts',
     171        'ძ' => 'dz', 'Ძ' => 'Dz', 'წ' => 'ts', 'Წ' => 'Ts', 'ჭ' => 'tch', 'Ჭ' => 'Tch',
     172        'ხ' => 'kh', 'Ხ' => 'Kh', 'ჯ' => 'j', 'Ჯ' => 'J', 'ჰ' => 'h', 'Ჰ' => 'H',
     173
     174        '“'=>'"', '”'=>'"', '‘'=>"'", '’'=>"'", '•'=>'-', '…'=>'...', '—'=>'-', '–'=>'-', '¿'=>'?', '¡'=>'!', '°'=>__(' degrees ', 'serbian-transliteration'),
     175        '¼'=>' 1/4 ', '½'=>' 1/2 ', '¾'=>' 3/4 ', '⅓'=>' 1/3 ', '⅔'=>' 2/3 ', '⅛'=>' 1/8 ', '⅜'=>' 3/8 ', '⅝'=>' 5/8 ', '⅞'=>' 7/8 ',
     176        '÷'=>__(' divided by ', 'serbian-transliteration'), '×'=>__(' times ', 'serbian-transliteration'), '±'=>__(' plus-minus ', 'serbian-transliteration'), '√'=>__(' square root ', 'serbian-transliteration'),
     177        '∞'=>__(' infinity ', 'serbian-transliteration'), '≈'=>__(' almost equal to ', 'serbian-transliteration'), '≠'=>__(' not equal to ', 'serbian-transliteration'),
     178        '≡'=>__(' identical to ', 'serbian-transliteration'), '≤'=>__(' less than or equal to ', 'serbian-transliteration'), '≥'=>__(' greater than or equal to ', 'serbian-transliteration'),
     179        '←'=>__(' left ', 'serbian-transliteration'), '→'=>__(' right ', 'serbian-transliteration'), '↑'=>__(' up ', 'serbian-transliteration'), '↓'=>__(' down ', 'serbian-transliteration'),
     180        '↔'=>__(' left and right ', 'serbian-transliteration'), '↕'=>__(' up and down ', 'serbian-transliteration'), '℅'=>__(' care of ', 'serbian-transliteration'),
     181        '℮' => __(' estimated ', 'serbian-transliteration'), 'Ω'=>__(' ohm ', 'serbian-transliteration'), '♀'=>__(' female ', 'serbian-transliteration'), '♂'=>__(' male ', 'serbian-transliteration'),
     182        '©'=>__(' Copyright ', 'serbian-transliteration'), '®'=>__(' Registered ', 'serbian-transliteration'), '™' =>__(' Trademark ', 'serbian-transliteration'),
     183    ));
     184}
  • serbian-transliteration/trunk/readme.txt

    r3229791 r3239677  
    55Tested up to: 6.7
    66Requires PHP: 7.0
    7 Stable tag: 2.1.7
     7Stable tag: 2.1.8
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    108108
    109109== Changelog ==
     110
     111= 2.1.8 =
     112* Added support and integration for Polylang plugin
     113* Improved and optimized permalink algorithm
     114* Optimized plugin loading
     115* Added new filters for developers
    110116
    111117= 2.1.7 =
     
    206212== Upgrade Notice ==
    207213
     214= 2.1.8 =
     215* Added support and integration for Polylang plugin
     216* Improved and optimized permalink algorithm
     217* Optimized plugin loading
     218* Added new filters for developers
     219
    208220= 2.1.7 =
    209221* Optimized main plugin control model
    210222* Added navigation caching
    211223* Fixed a bug with the repeating notification
    212 
    213 = 2.1.6 =
    214 * Fixed autoloader to keep algorithms inside the plugin
    215 * Optimized transliterator for pages and posts
    216 
    217 = 2.1.5 =
    218 * Fixed permalink problems for the new posts
    219 * Fixed performances for the post updates
    220 
    221 = 2.1.4 =
    222 * Fixed SEO module for the Google index
    223 
    224 = 2.1.3 =
    225 * Fixed sitemap redirection issues
    226 * Added new attributes for transliteration
    227 * Removed unnecessary and obsolete code
    228 * Optimization of PHP algorithms
    229 
    230 = 2.1.2 =
    231 * Fixed PHP fatal errors
    232 * Improved transliteration of cached content
    233 * Added security protocols
    234 * Improved PHP code
    235 
    236 = 2.1.1 =
    237 * Fixing filters for the Contact Form 7
    238 
    239 = 2.1.0 =
    240 * Added new autoloader for better performances
    241 * Added new caching functionality
    242 * Added prevention of redirection on AJAX calls
    243 * Improved PHP code
    244 * Fixed bugs from the previous version
    245 * Improved block editor script
    246224
    247225== Frequently Asked Questions ==
  • serbian-transliteration/trunk/serbian-transliteration.php

    r3229791 r3239677  
    66 * Description:       All in one Cyrillic to Latin transliteration plugin for WordPress that actually works.
    77 * Donate link:       https://www.buymeacoffee.com/ivijanstefan
    8  * Version:           2.1.7
     8 * Version:           2.1.8
    99 * Requires at least: 5.4
    1010 * Tested up to:      6.7
Note: See TracChangeset for help on using the changeset viewer.