Changeset 3352527
- Timestamp:
- 08/29/2025 10:09:32 AM (6 months ago)
- Location:
- smartling-connector/trunk
- Files:
-
- 1 added
- 4 edited
-
inc/Smartling/ContentTypes/Elementor/Elements/Template.php (added)
-
inc/Smartling/Models/RelatedContentInfo.php (modified) (1 diff)
-
inc/Smartling/Services/ContentRelationsDiscoveryService.php (modified) (2 diffs)
-
readme.txt (modified) (2 diffs)
-
smartling-connector.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
smartling-connector/trunk/inc/Smartling/Models/RelatedContentInfo.php
r3340860 r3352527 65 65 { 66 66 $result = clone $this; 67 $result->info[$containerId] = $this->arrayMergePreserveKeys($this->info, $info->info); 67 if (array_key_exists($containerId, $result->info)) { 68 $result->info[$containerId] = $this->arrayMergePreserveKeys($result->info[$containerId], $info->info); 69 } else { 70 $result->info[$containerId] = $this->arrayMergePreserveKeys($result->info, $info->info); 71 } 68 72 69 73 return $result; -
smartling-connector/trunk/inc/Smartling/Services/ContentRelationsDiscoveryService.php
r3314551 r3352527 5 5 use Exception; 6 6 use Smartling\ApiWrapperInterface; 7 use Smartling\ContentTypes\ContentTypeHelper; 7 8 use Smartling\ContentTypes\ContentTypeManager; 8 9 use Smartling\ContentTypes\ContentTypeNavigationMenu; … … 593 594 $result = []; 594 595 595 if (isset($references['attachment'])) { 596 $result['attachment'] = $references['attachment']; 596 if (isset($references[ContentTypeHelper::POST_TYPE_ATTACHMENT])) { 597 $result[ContentTypeHelper::POST_TYPE_ATTACHMENT] = $references[ContentTypeHelper::POST_TYPE_ATTACHMENT]; 598 } 599 if (isset($references[ContentTypeHelper::CONTENT_TYPE_UNKNOWN])) { 600 $references[self::POST_BASED_PROCESSOR] = array_merge($references[self::POST_BASED_PROCESSOR] ?? [], $references[ContentTypeHelper::CONTENT_TYPE_UNKNOWN]); 597 601 } 598 602 599 603 if (isset($references['MediaBasedProcessor'])) { 600 $result[ 'attachment'] = array_merge(($result['attachment'] ?? []), $references['MediaBasedProcessor']);604 $result[ContentTypeHelper::POST_TYPE_ATTACHMENT] = array_merge($result[ContentTypeHelper::POST_TYPE_ATTACHMENT] ?? [], $references['MediaBasedProcessor']); 601 605 } 602 606 -
smartling-connector/trunk/readme.txt
r3351155 r3352527 5 5 Tested up to: 6.6.2 6 6 Requires PHP: 8.0 7 Stable tag: 4.3. 27 Stable tag: 4.3.3 8 8 License: GPLv2 or later 9 9 … … 63 63 64 64 == Changelog == 65 = 4.3.3 = 66 * Fixed issue where Elementor related submissions were processed partially 67 * Added support for Elementor template widget 68 65 69 = 4.3.2 = 66 70 * Fixed a fatal error on the configuration screen -
smartling-connector/trunk/smartling-connector.php
r3351155 r3352527 12 12 * Plugin URI: https://www.smartling.com/products/automate/integrations/wordpress/ 13 13 * Description: Integrate your WordPress site with Smartling to upload your content and download translations. 14 * Version: 4.3. 214 * Version: 4.3.3 15 15 * Author: Smartling 16 16 * Author URI: https://www.smartling.com
Note: See TracChangeset
for help on using the changeset viewer.