Changeset 3239677
- Timestamp:
- 02/12/2025 09:25:54 PM (14 months ago)
- Location:
- serbian-transliteration
- Files:
-
- 139 added
- 7 edited
-
tags/2.1.8 (added)
-
tags/2.1.8/CHANGELOG.txt (added)
-
tags/2.1.8/LICENSE.txt (added)
-
tags/2.1.8/assets (added)
-
tags/2.1.8/assets/css (added)
-
tags/2.1.8/assets/css/admin.css (added)
-
tags/2.1.8/assets/css/admin.min.css (added)
-
tags/2.1.8/assets/css/highlight.min.css (added)
-
tags/2.1.8/assets/css/index.php (added)
-
tags/2.1.8/assets/css/tools.css (added)
-
tags/2.1.8/assets/css/tools.min.css (added)
-
tags/2.1.8/assets/img (added)
-
tags/2.1.8/assets/img/fp-icon-80x80.png (added)
-
tags/2.1.8/assets/img/icon-animated-24x24.gif (added)
-
tags/2.1.8/assets/img/icon-animated-32x32.gif (added)
-
tags/2.1.8/assets/img/index.php (added)
-
tags/2.1.8/assets/img/logo-contra-team.jpg (added)
-
tags/2.1.8/assets/img/logo-freelance-poslovi-sr_RS.jpg (added)
-
tags/2.1.8/assets/img/logo-freelance-poslovi.jpg (added)
-
tags/2.1.8/assets/index.php (added)
-
tags/2.1.8/assets/js (added)
-
tags/2.1.8/assets/js/admin.js (added)
-
tags/2.1.8/assets/js/admin.min.js (added)
-
tags/2.1.8/assets/js/highlight.min.js (added)
-
tags/2.1.8/assets/js/index.php (added)
-
tags/2.1.8/assets/js/tools-block.js (added)
-
tags/2.1.8/assets/js/tools-block.min.js (added)
-
tags/2.1.8/assets/js/tools-tinymce.js (added)
-
tags/2.1.8/assets/js/tools-tinymce.min.js (added)
-
tags/2.1.8/assets/js/tools.js (added)
-
tags/2.1.8/assets/js/tools.min.js (added)
-
tags/2.1.8/classes (added)
-
tags/2.1.8/classes/ajax.php (added)
-
tags/2.1.8/classes/autoloader.php (added)
-
tags/2.1.8/classes/cache-db.php (added)
-
tags/2.1.8/classes/controller.php (added)
-
tags/2.1.8/classes/debug.php (added)
-
tags/2.1.8/classes/email.php (added)
-
tags/2.1.8/classes/filters.php (added)
-
tags/2.1.8/classes/index.php (added)
-
tags/2.1.8/classes/init.php (added)
-
tags/2.1.8/classes/map.php (added)
-
tags/2.1.8/classes/maps (added)
-
tags/2.1.8/classes/maps/ar.php (added)
-
tags/2.1.8/classes/maps/ba.php (added)
-
tags/2.1.8/classes/maps/bel.php (added)
-
tags/2.1.8/classes/maps/bg_BG.php (added)
-
tags/2.1.8/classes/maps/bs_BA.php (added)
-
tags/2.1.8/classes/maps/cnr.php (added)
-
tags/2.1.8/classes/maps/el.php (added)
-
tags/2.1.8/classes/maps/hy.php (added)
-
tags/2.1.8/classes/maps/index.php (added)
-
tags/2.1.8/classes/maps/ka_GE.php (added)
-
tags/2.1.8/classes/maps/kir.php (added)
-
tags/2.1.8/classes/maps/kk.php (added)
-
tags/2.1.8/classes/maps/mk_MK.php (added)
-
tags/2.1.8/classes/maps/mn.php (added)
-
tags/2.1.8/classes/maps/ru_RU.php (added)
-
tags/2.1.8/classes/maps/sr_RS.php (added)
-
tags/2.1.8/classes/maps/tg.php (added)
-
tags/2.1.8/classes/maps/uk.php (added)
-
tags/2.1.8/classes/maps/uz_UZ.php (added)
-
tags/2.1.8/classes/menus.php (added)
-
tags/2.1.8/classes/mode.php (added)
-
tags/2.1.8/classes/model.php (added)
-
tags/2.1.8/classes/modes (added)
-
tags/2.1.8/classes/modes/admin.php (added)
-
tags/2.1.8/classes/modes/advanced.php (added)
-
tags/2.1.8/classes/modes/dev.php (added)
-
tags/2.1.8/classes/modes/forced.php (added)
-
tags/2.1.8/classes/modes/index.php (added)
-
tags/2.1.8/classes/modes/light.php (added)
-
tags/2.1.8/classes/modes/standard.php (added)
-
tags/2.1.8/classes/modes/woocommerce.php (added)
-
tags/2.1.8/classes/notifications.php (added)
-
tags/2.1.8/classes/plugins (added)
-
tags/2.1.8/classes/plugins.php (added)
-
tags/2.1.8/classes/plugins/advanced-custom-fields-pro.php (added)
-
tags/2.1.8/classes/plugins/advanced-custom-fields.php (added)
-
tags/2.1.8/classes/plugins/contact-form-7.php (added)
-
tags/2.1.8/classes/plugins/data-tables-generator-by-supsystic.php (added)
-
tags/2.1.8/classes/plugins/elementor.php (added)
-
tags/2.1.8/classes/plugins/index.php (added)
-
tags/2.1.8/classes/plugins/polylang.php (added)
-
tags/2.1.8/classes/plugins/revslider.php (added)
-
tags/2.1.8/classes/plugins/woocommerce.php (added)
-
tags/2.1.8/classes/plugins/wordpress-seo.php (added)
-
tags/2.1.8/classes/requirements.php (added)
-
tags/2.1.8/classes/rest.php (added)
-
tags/2.1.8/classes/sanitization.php (added)
-
tags/2.1.8/classes/search.php (added)
-
tags/2.1.8/classes/settings (added)
-
tags/2.1.8/classes/settings-fields.php (added)
-
tags/2.1.8/classes/settings-sidebars.php (added)
-
tags/2.1.8/classes/settings.php (added)
-
tags/2.1.8/classes/settings/index.php (added)
-
tags/2.1.8/classes/settings/page-credits.php (added)
-
tags/2.1.8/classes/settings/page-debug.php (added)
-
tags/2.1.8/classes/settings/page-functions.php (added)
-
tags/2.1.8/classes/settings/page-permalinks.php (added)
-
tags/2.1.8/classes/settings/page-shortcodes.php (added)
-
tags/2.1.8/classes/settings/page-tags.php (added)
-
tags/2.1.8/classes/settings/page-transliteration.php (added)
-
tags/2.1.8/classes/shortcodes.php (added)
-
tags/2.1.8/classes/themes (added)
-
tags/2.1.8/classes/themes.php (added)
-
tags/2.1.8/classes/themes/avada.php (added)
-
tags/2.1.8/classes/themes/divi.php (added)
-
tags/2.1.8/classes/themes/index.php (added)
-
tags/2.1.8/classes/themes/themify.php (added)
-
tags/2.1.8/classes/tools.php (added)
-
tags/2.1.8/classes/traits (added)
-
tags/2.1.8/classes/traits/cache-controlled.php (added)
-
tags/2.1.8/classes/traits/cache.php (added)
-
tags/2.1.8/classes/traits/index.php (added)
-
tags/2.1.8/classes/utilities.php (added)
-
tags/2.1.8/classes/wordpress.php (added)
-
tags/2.1.8/classes/wp-cli.php (added)
-
tags/2.1.8/constants.php (added)
-
tags/2.1.8/functions.php (added)
-
tags/2.1.8/index.php (added)
-
tags/2.1.8/languages (added)
-
tags/2.1.8/languages/index.php (added)
-
tags/2.1.8/languages/serbian-transliteration-hr.mo (added)
-
tags/2.1.8/languages/serbian-transliteration-hr.po (added)
-
tags/2.1.8/languages/serbian-transliteration-sr_RS.mo (added)
-
tags/2.1.8/languages/serbian-transliteration-sr_RS.po (added)
-
tags/2.1.8/languages/serbian-transliteration.pot (added)
-
tags/2.1.8/libraries (added)
-
tags/2.1.8/libraries/.htaccess (added)
-
tags/2.1.8/libraries/index.php (added)
-
tags/2.1.8/libraries/locale.lib (added)
-
tags/2.1.8/libraries/sr_RS.diacritical.words.lib (added)
-
tags/2.1.8/libraries/sr_RS.skip.words.lib (added)
-
tags/2.1.8/readme.txt (added)
-
tags/2.1.8/serbian-transliteration.php (added)
-
tags/2.1.8/uninstall.php (added)
-
trunk/CHANGELOG.txt (modified) (1 diff)
-
trunk/classes/plugins.php (modified) (2 diffs)
-
trunk/classes/plugins/polylang.php (added)
-
trunk/classes/themes.php (modified) (1 diff)
-
trunk/classes/traits/cache-controlled.php (added)
-
trunk/classes/utilities.php (modified) (5 diffs)
-
trunk/constants.php (modified) (1 diff)
-
trunk/readme.txt (modified) (3 diffs)
-
trunk/serbian-transliteration.php (modified) (1 diff)
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 1 7 = 2.1.7 = 2 8 * Optimized main plugin control model -
serbian-transliteration/trunk/classes/plugins.php
r3142709 r3239677 11 11 $active_plugins = apply_filters('active_plugins', get_option('active_plugins')); 12 12 13 // Filter active plugins 14 $active_plugins = apply_filters('rstr_active_plugins', $active_plugins); 15 13 16 $found_classes = []; 14 17 foreach ($active_plugins as $plugin) { … … 19 22 $class_name = 'Transliteration_Plugin_' . $this->sanitize_class_name($plugin_folder); 20 23 24 // Filter current class 25 $class_name = apply_filters('rstr_active_plugin_class', $class_name, $plugin_folder, $plugin); 26 21 27 // 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)) { 23 29 $found_classes[] = $class_name; 24 30 } 25 31 } 32 33 // FIlter all classes 34 $found_classes = apply_filters('rstr_active_plugin_classes', $found_classes, $active_plugins); 26 35 27 36 return $found_classes; -
serbian-transliteration/trunk/classes/themes.php
r3142709 r3239677 22 22 $class_name = 'Transliteration_Theme_' . $this->sanitize_class_name($theme_name); 23 23 24 // Filter active theme class 25 $class_name = apply_filters('rstr_active_theme_class', $class_name, $theme_name, $theme); 26 24 27 // 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)) { 26 29 return $class_name; 27 30 } -
serbian-transliteration/trunk/classes/utilities.php
r3224920 r3239677 175 175 $get_locale = get_user_locale( wp_get_current_user() ); 176 176 } 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 } 177 191 } 178 192 … … 316 330 ['function_exists', 'liteSpeed_purge_all'], 317 331 ['function_exists', 'w3tc_flush_all'], 332 ['function_exists', 'wpfc_clear_all_cache'], 318 333 [$w3_plugin_totalcache], 319 ['function_exists', 'wpfc_clear_all_cache'],320 334 ['function_exists', 'rocket_clean_domain'], 321 335 ['function_exists', 'prune_super_cache', 'get_supercache_dir'], … … 659 673 * @author Ivijan-Stefan Stipic 660 674 */ 661 public static function already_cyrillic() {675 public static function already_cyrillic() { 662 676 return self::cached_static('already_cyrillic', function() { 663 return in_array(self::get_locale(), apply_filters('rstr_already_cyrillic', array('sr_RS','mk_MK', 'b el', '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 ); 664 678 }); 665 679 } … … 1012 1026 */ 1013 1027 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',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', 'ş'=>'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); 1096 1030 1097 1031 $str = strtr($str, $map); … … 1323 1257 }); 1324 1258 } 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 } 1325 1296 1326 1297 } -
serbian-transliteration/trunk/constants.php
r3206785 r3239677 97 97 define('RSTR_WOOCOMMERCE', (function_exists('is_plugin_active') ? is_plugin_active('woocommerce/woocommerce.php') : false)); 98 98 } 99 100 // Normalize Latin String map 101 if (!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', 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'Ŵ'=>'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 5 5 Tested up to: 6.7 6 6 Requires PHP: 7.0 7 Stable tag: 2.1. 77 Stable tag: 2.1.8 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 108 108 109 109 == 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 110 116 111 117 = 2.1.7 = … … 206 212 == Upgrade Notice == 207 213 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 208 220 = 2.1.7 = 209 221 * Optimized main plugin control model 210 222 * Added navigation caching 211 223 * Fixed a bug with the repeating notification 212 213 = 2.1.6 =214 * Fixed autoloader to keep algorithms inside the plugin215 * Optimized transliterator for pages and posts216 217 = 2.1.5 =218 * Fixed permalink problems for the new posts219 * Fixed performances for the post updates220 221 = 2.1.4 =222 * Fixed SEO module for the Google index223 224 = 2.1.3 =225 * Fixed sitemap redirection issues226 * Added new attributes for transliteration227 * Removed unnecessary and obsolete code228 * Optimization of PHP algorithms229 230 = 2.1.2 =231 * Fixed PHP fatal errors232 * Improved transliteration of cached content233 * Added security protocols234 * Improved PHP code235 236 = 2.1.1 =237 * Fixing filters for the Contact Form 7238 239 = 2.1.0 =240 * Added new autoloader for better performances241 * Added new caching functionality242 * Added prevention of redirection on AJAX calls243 * Improved PHP code244 * Fixed bugs from the previous version245 * Improved block editor script246 224 247 225 == Frequently Asked Questions == -
serbian-transliteration/trunk/serbian-transliteration.php
r3229791 r3239677 6 6 * Description: All in one Cyrillic to Latin transliteration plugin for WordPress that actually works. 7 7 * Donate link: https://www.buymeacoffee.com/ivijanstefan 8 * Version: 2.1. 78 * Version: 2.1.8 9 9 * Requires at least: 5.4 10 10 * Tested up to: 6.7
Note: See TracChangeset
for help on using the changeset viewer.