Changeset 3149029
- Timestamp:
- 09/10/2024 07:29:50 AM (17 months ago)
- Location:
- motaword
- Files:
-
- 36 added
- 4 edited
-
tags/2.0.2 (added)
-
tags/2.0.2/LICENSE.txt (added)
-
tags/2.0.2/README.txt (added)
-
tags/2.0.2/admin (added)
-
tags/2.0.2/admin/class-motaword-admin.php (added)
-
tags/2.0.2/admin/css (added)
-
tags/2.0.2/admin/css/icon.png (added)
-
tags/2.0.2/admin/css/icon.svg (added)
-
tags/2.0.2/admin/css/icon_completed.png (added)
-
tags/2.0.2/admin/css/icon_error.png (added)
-
tags/2.0.2/admin/css/icon_ongoing.png (added)
-
tags/2.0.2/admin/css/logo.png (added)
-
tags/2.0.2/admin/css/motaword-admin.css (added)
-
tags/2.0.2/admin/index.php (added)
-
tags/2.0.2/admin/js (added)
-
tags/2.0.2/admin/js/motaword-admin.js (added)
-
tags/2.0.2/includes (added)
-
tags/2.0.2/includes/class-motaword-active-serve.php (added)
-
tags/2.0.2/includes/class-motaword-active.php (added)
-
tags/2.0.2/includes/class-motaword-api.php (added)
-
tags/2.0.2/includes/class-motaword-db.php (added)
-
tags/2.0.2/includes/class-motaword-i18n.php (added)
-
tags/2.0.2/includes/class-motaword-loader.php (added)
-
tags/2.0.2/includes/class-motaword.php (added)
-
tags/2.0.2/includes/index.php (added)
-
tags/2.0.2/includes/language-map.php (added)
-
tags/2.0.2/index.php (added)
-
tags/2.0.2/languages (added)
-
tags/2.0.2/languages/currencies.php (added)
-
tags/2.0.2/languages/languages.php (added)
-
tags/2.0.2/languages/motaword.pot (added)
-
tags/2.0.2/motaword.php (added)
-
tags/2.0.2/public (added)
-
tags/2.0.2/public/class-motaword-public.php (added)
-
tags/2.0.2/public/index.php (added)
-
tags/2.0.2/uninstall.php (added)
-
trunk/README.txt (modified) (1 diff)
-
trunk/includes/class-motaword-active-serve.php (modified) (1 diff)
-
trunk/includes/class-motaword.php (modified) (3 diffs)
-
trunk/motaword.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
motaword/trunk/README.txt
r3096010 r3149029 89 89 == Changelog == 90 90 91 = 2.0.3 = 92 * Better locale code path prefix regex 93 91 94 = 2.0.2 = 92 95 * PHP 8.3 Compatibility -
motaword/trunk/includes/class-motaword-active-serve.php
r3096010 r3149029 457 457 $blacklistUrls = explode("\n", (string)$this->plugin->getOption(MotaWord_Admin::$options['active_blacklist_urls'])); 458 458 $blacklistUrls = array_filter(array_map(function ($url) { return isset($url) ? trim($url) : null; }, $blacklistUrls)); 459 $pattern = '.*'; 460 $patternWithLocale = '#^(^([/]?)(' . implode('|', $locales) . '))(' . $pattern . '|' . mb_strtoupper($pattern) . '|' . mb_strtolower($pattern) . ')\z#u'; 459 $patternWithLocale = '#^(^([/]?)(' . implode('|', $locales) . '))(?:\/.*|\z)#u'; 461 460 preg_match($patternWithLocale, rtrim(trim($path), '/'), $matches); 462 461 $isLocalePath = isset($matches[1]) && $matches[1] ? $matches[1] : ($matches[0] ?? null); -
motaword/trunk/includes/class-motaword.php
r3096010 r3149029 23 23 * version of the plugin. 24 24 * 25 * @version 2.0. 225 * @version 2.0.3 26 26 * @package motaword 27 27 * @subpackage motaword/includes … … 107 107 * @param string $pluginName 108 108 * 109 * @version 2.0. 2109 * @version 2.0.3 110 110 */ 111 111 public function __construct($pluginName = 'motaword/motaword.php') … … 113 113 114 114 $this->motaword = 'motaword'; 115 $this->version = '2.0. 2';115 $this->version = '2.0.3'; 116 116 117 117 $this->setPluginFile($pluginName); -
motaword/trunk/motaword.php
r3096010 r3149029 16 16 * Plugin URI: https://www.motaword.com/developer 17 17 * Description: MotaWord plugin allows you to seamlessly submit your posts for translation to MotaWord. 18 * Version: 2.0. 218 * Version: 2.0.3 19 19 * Author: MotaWord Engineering <[email protected]> 20 20 * Author URI: https://www.motaword.com/developer
Note: See TracChangeset
for help on using the changeset viewer.