Changeset 3240190
- Timestamp:
- 02/13/2025 02:40:42 PM (13 months ago)
- Location:
- memsource-connector/trunk
- Files:
-
- 4 edited
-
memsource.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
src/Service/ExternalPlugin/SeoPlugin.php (modified) (3 diffs)
-
src/Service/PlaceholderService.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
memsource-connector/trunk/memsource.php
r3067665 r3240190 5 5 Plugin URI: https://support.phrase.com/hc/en-us/articles/5709657294620 6 6 Description: Localize WordPress websites with the help of professional translation tools: translation memories, terminology bases and quality checkers. 7 Version: 4.7. 27 Version: 4.7.3 8 8 Text Domain: memsource 9 9 Domain Path: /locale … … 18 18 19 19 define('MEMSOURCE_PLUGIN_PATH', dirname(__FILE__)); 20 define('MEMSOURCE_PLUGIN_VERSION', '4.7. 2');20 define('MEMSOURCE_PLUGIN_VERSION', '4.7.3'); 21 21 define('MEMSOURCE_PLUGIN_DIR_URL', plugin_dir_url(__FILE__)); 22 22 define('MEMSOURCE_PLUGIN_REQUIERED_PHP_VERSION', '7.4'); -
memsource-connector/trunk/readme.txt
r3067665 r3240190 4 4 Requires at least: 4.9 5 5 Requires PHP: 7.4 6 Tested up to: 6. 26 Tested up to: 6.7.1 7 7 Stable tag: trunk 8 8 License: GPLv2 or later … … 33 33 == Changelog == 34 34 35 = 4.7.3 = 36 *Release Date - 13 Feb 2025* 37 38 * Tested up to WordPress 6.7.1 39 35 40 = 4.7.2 = 36 41 *Release Date - 9 Apr 2024* -
memsource-connector/trunk/src/Service/ExternalPlugin/SeoPlugin.php
r2870027 r3240190 57 57 preg_match_all($pattern, $customFieldValue, $matches); 58 58 59 foreach ($matches[0] ?? []as $match) {59 foreach ($matches[0] as $match) { 60 60 $replacement = self::YOAST_SEO_TAG_START . str_replace('%%', '', $match) . self::YOAST_SEO_TAG_END; 61 61 $customFieldValue = str_replace($match, $replacement, $customFieldValue); … … 67 67 preg_match_all($pattern, $customFieldValue, $matches); 68 68 69 foreach ($matches[0] ?? []as $match) {69 foreach ($matches[0] as $match) { 70 70 $replacement = self::SEOPRESS_TAG_START . str_replace('%%', '', $match) . self::SEOPRESS_TAG_END; 71 71 $customFieldValue = str_replace($match, $replacement, $customFieldValue); … … 88 88 preg_match_all($pattern, $customFieldValue, $matches); 89 89 90 foreach ($matches[0] ?? []as $match) {90 foreach ($matches[0] as $match) { 91 91 $replacement = ''; 92 92 -
memsource-connector/trunk/src/Service/PlaceholderService.php
r2746961 r3240190 26 26 preg_match_all($pattern, $text, $matches); 27 27 28 foreach ($matches[0] ?? []as $match) {28 foreach ($matches[0] as $match) { 29 29 $pos = strpos($text, $match); 30 30 … … 48 48 preg_match_all($pattern, $text, $matches); 49 49 50 foreach ($matches[0] ?? []as $match) {50 foreach ($matches[0] as $match) { 51 51 $pos = strpos($text, $match); 52 52
Note: See TracChangeset
for help on using the changeset viewer.