Changeset 2816808
- Timestamp:
- 11/11/2022 07:48:19 PM (3 years ago)
- Location:
- greek-multi-tool
- Files:
-
- 60 added
- 3 edited
-
tags/2.1.2 (added)
-
tags/2.1.2/LICENSE.txt (added)
-
tags/2.1.2/README.txt (added)
-
tags/2.1.2/admin (added)
-
tags/2.1.2/admin/class-grmlt-plugin-admin.php (added)
-
tags/2.1.2/admin/css (added)
-
tags/2.1.2/admin/css/bootstrap.min.css (added)
-
tags/2.1.2/admin/css/bootstrap.min.css.map (added)
-
tags/2.1.2/admin/css/grmlt-plugin-admin.css (added)
-
tags/2.1.2/admin/css/settings-page-body.css (added)
-
tags/2.1.2/admin/css/settings-page-switches.css (added)
-
tags/2.1.2/admin/functions (added)
-
tags/2.1.2/admin/functions/function.js (added)
-
tags/2.1.2/admin/functions/greek-multi-tool-redirect.php (added)
-
tags/2.1.2/admin/functions/oldtranslator.php (added)
-
tags/2.1.2/admin/functions/translator-diphthongs.php (added)
-
tags/2.1.2/admin/functions/translator.php (added)
-
tags/2.1.2/admin/images (added)
-
tags/2.1.2/admin/images/grmlt-wave.png (added)
-
tags/2.1.2/admin/images/grmlt-welcome.png (added)
-
tags/2.1.2/admin/images/icon-128x128.png (added)
-
tags/2.1.2/admin/images/icon-256x256.png (added)
-
tags/2.1.2/admin/index.php (added)
-
tags/2.1.2/admin/js (added)
-
tags/2.1.2/admin/js/bootstrap.min.js (added)
-
tags/2.1.2/admin/js/bootstrap.min.js.map (added)
-
tags/2.1.2/admin/js/grmlt-plugin-admin.js (added)
-
tags/2.1.2/admin/js/popper.min.js (added)
-
tags/2.1.2/admin/js/popper.min.js.map (added)
-
tags/2.1.2/admin/partials (added)
-
tags/2.1.2/admin/partials/grmlt-plugin-admin-display-loader.php (added)
-
tags/2.1.2/admin/partials/settings-page (added)
-
tags/2.1.2/admin/partials/settings-page/301-redirect.php (added)
-
tags/2.1.2/admin/partials/settings-page/convert-old-permalinks.php (added)
-
tags/2.1.2/admin/partials/settings-page/grmlt-plugin-admin-main-settings-page.php (added)
-
tags/2.1.2/admin/partials/settings-page/permalinks-settings.php (added)
-
tags/2.1.2/admin/partials/settings-page/uppercase-accent-remover-settings.php (added)
-
tags/2.1.2/grmlt-plugin.php (added)
-
tags/2.1.2/includes (added)
-
tags/2.1.2/includes/class-grmlt-plugin-activator.php (added)
-
tags/2.1.2/includes/class-grmlt-plugin-deactivator.php (added)
-
tags/2.1.2/includes/class-grmlt-plugin-i18n.php (added)
-
tags/2.1.2/includes/class-grmlt-plugin-loader.php (added)
-
tags/2.1.2/includes/class-grmlt-plugin.php (added)
-
tags/2.1.2/includes/index.php (added)
-
tags/2.1.2/index.php (added)
-
tags/2.1.2/languages (added)
-
tags/2.1.2/languages/grmlt-plugin.mo (added)
-
tags/2.1.2/languages/grmlt-plugin.po (added)
-
tags/2.1.2/languages/grmlt-plugin.pot (added)
-
tags/2.1.2/public (added)
-
tags/2.1.2/public/class-grmlt-plugin-public.php (added)
-
tags/2.1.2/public/css (added)
-
tags/2.1.2/public/css/grmlt-plugin-public.css (added)
-
tags/2.1.2/public/index.php (added)
-
tags/2.1.2/public/js (added)
-
tags/2.1.2/public/js/grmlt-plugin-public.js (added)
-
tags/2.1.2/public/partials (added)
-
tags/2.1.2/public/partials/grmlt-plugin-public-display.php (added)
-
tags/2.1.2/uninstall.php (added)
-
trunk/admin/functions/oldtranslator.php (modified) (1 diff)
-
trunk/grmlt-plugin.php (modified) (3 diffs)
-
trunk/readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
greek-multi-tool/trunk/admin/functions/oldtranslator.php
r2812381 r2816808 2 2 3 3 function grmlt_old_sanitizer($text) { 4 $expressions = array( 4 5 5 $expressions = array( 6 '/[αάΑΆ]/u' => 'a', 7 '/[βΒ]/u' => 'v', 8 '/[γΓ]/u' => 'g', 9 '/[δΔ]/u' => 'd', 10 '/[εέΕΈ]/u' => 'e', 11 '/[ζΖ]/u' => 'z', 12 '/[ηήΗΉ]/u' => 'i', 13 '/[θΘ]/u' => 'th', 14 '/[ιίϊΙΊΪ]/u' => 'i', 15 '/[κΚ]/u' => 'k', 16 '/[λΛ]/u' => 'l', 17 '/[μΜ]/u' => 'm', 18 '/[νΝ]/u' => 'n', 19 '/[ξΞ]/u' => 'x', 20 '/[οόΟΌ]/u' => 'o', 21 '/[πΠ]/u' => 'p', 22 '/[ρΡ]/u' => 'r', 23 '/[σςΣ]/u' => 's', 24 '/[τΤ]/u' => 't', 25 '/[υύϋΥΎΫ]/u' => 'y', 26 '/[φΦ]/iu' => 'f', 27 '/[χΧ]/u' => 'ch', 28 '/[ψΨ]/u' => 'ps', 29 '/[ωώ]/iu' => 'o', 30 '/[--]/' => '-', 31 '/[.]/' => '', 6 32 7 '/[αάΑΆ]/u' => 'a', 8 '/[βΒ]/u' => 'v', 9 '/[γΓ]/u' => 'g', 10 '/[δΔ]/u' => 'd', 11 '/[εέΕΈ]/u' => 'e', 12 '/[ζΖ]/u' => 'z', 13 '/[ηήΗΉ]/u' => 'i', 14 '/[θΘ]/u' => 'th', 15 '/[ιίϊΙΊΪ]/u' => 'i', 16 '/[κΚ]/u' => 'k', 17 '/[λΛ]/u' => 'l', 18 '/[μΜ]/u' => 'm', 19 '/[νΝ]/u' => 'n', 20 '/[ξΞ]/u' => 'x', 21 '/[οόΟΌ]/u' => 'o', 22 '/[πΠ]/u' => 'p', 23 '/[ρΡ]/u' => 'r', 24 '/[σςΣ]/u' => 's', 25 '/[τΤ]/u' => 't', 26 '/[υύϋΥΎΫ]/u' => 'y', 27 '/[φΦ]/iu' => 'f', 28 '/[χΧ]/u' => 'ch', 29 '/[ψΨ]/u' => 'ps', 30 '/[ωώ]/iu' => 'o', 31 '/[ ]/' => '-', 33 ); 32 34 33 ); 35 // Stop Words functionality 36 $stop_words = get_option( 'grmlt_stwords' ); 37 if ( isset( $stop_words ) && $stop_words != '') { 38 $stop_words = explode( ',' , $stop_words ); 39 $text = str_replace( $stop_words, '', $text ); 40 } 34 41 35 42 $text = preg_replace( array_keys($expressions), array_values($expressions), $text ); 36 43 37 $text = preg_replace( array_keys($expressions), array_values($expressions), $text ); 38 return $text; 44 // Remove one letter words 45 if ( get_option( 'grmlt_one_letter_words' ) == 1 ) { 46 $text = preg_replace('/\s+\D{1}(?!\S)|(?<!\S)\D{1}\s+/', '', $text); 47 } 39 48 49 // Remove two letter words 50 if ( get_option( 'grmlt_two_letter_words' ) == 1 ) { 51 $text = preg_replace('/\s+\D{2}(?!\S)|(?<!\S)\D{2}\s+/', '', $text); 52 } 53 54 return $text; 55 40 56 } 41 57 -
greek-multi-tool/trunk/grmlt-plugin.php
r2815489 r2816808 2 2 /** 3 3 * @link https://bigdrop.gr 4 * @since 2.1. 14 * @since 2.1.2 5 5 * @package Grmlt_Plugin 6 6 * … … 9 9 * Plugin URI: https://bigdrop.gr/greek-multi-tool 10 10 * Description: This plugin provides a handful of tools and key functionalities to simplify and fix the greek language used in your webpage. For example it change the greek character urls to latin, remove the uppercase accents. 11 * Version: 2.1. 111 * Version: 2.1.2 12 12 * Author: BigDrop.gr 13 13 * Author URI: https://bigdrop.gr … … 29 29 * Start at version 2.1.1 30 30 */ 31 define( 'GRMLT_PLUGIN_VERSION', '2.1. 1' );31 define( 'GRMLT_PLUGIN_VERSION', '2.1.2' ); 32 32 33 33 /** -
greek-multi-tool/trunk/readme.txt
r2815489 r2816808 3 3 Tags: greek, greeklish, permalinks, accent remover, multi tool 4 4 Requires at least: 5.4 5 Stable tag: 2.1. 15 Stable tag: 2.1.2 6 6 Tested up to: 6.1.0 7 7 Requires PHP: 7.4 … … 179 179 * Add link to settings page from the plugins list 180 180 181 = 2.1.2 = 182 183 * Fixed the issue with the convertion of old URLs. 184 * If you are facing any error 404 with mass converted old URLs, please visit the Admin > Greek Multi Tool > Convert Old Permalinks and hit the Convert Button. 185 181 186 == Upgrade Notice == 182 187 Make sure to keep this plugin up to date, to avoid any issue with the translation functionalities.
Note: See TracChangeset
for help on using the changeset viewer.