Plugin Directory

Changeset 3352527


Ignore:
Timestamp:
08/29/2025 10:09:32 AM (6 months ago)
Author:
smartling
Message:

Update to v 4.3.3

Location:
smartling-connector/trunk
Files:
1 added
4 edited

Legend:

Unmodified
Added
Removed
  • smartling-connector/trunk/inc/Smartling/Models/RelatedContentInfo.php

    r3340860 r3352527  
    6565    {
    6666        $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        }
    6872
    6973        return $result;
  • smartling-connector/trunk/inc/Smartling/Services/ContentRelationsDiscoveryService.php

    r3314551 r3352527  
    55use Exception;
    66use Smartling\ApiWrapperInterface;
     7use Smartling\ContentTypes\ContentTypeHelper;
    78use Smartling\ContentTypes\ContentTypeManager;
    89use Smartling\ContentTypes\ContentTypeNavigationMenu;
     
    593594        $result = [];
    594595
    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]);
    597601        }
    598602
    599603        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']);
    601605        }
    602606
  • smartling-connector/trunk/readme.txt

    r3351155 r3352527  
    55Tested up to: 6.6.2
    66Requires PHP: 8.0
    7 Stable tag: 4.3.2
     7Stable tag: 4.3.3
    88License: GPLv2 or later
    99
     
    6363
    6464== Changelog ==
     65= 4.3.3 =
     66* Fixed issue where Elementor related submissions were processed partially
     67* Added support for Elementor template widget
     68
    6569= 4.3.2 =
    6670* Fixed a fatal error on the configuration screen
  • smartling-connector/trunk/smartling-connector.php

    r3351155 r3352527  
    1212 * Plugin URI:        https://www.smartling.com/products/automate/integrations/wordpress/
    1313 * Description:       Integrate your WordPress site with Smartling to upload your content and download translations.
    14  * Version:           4.3.2
     14 * Version:           4.3.3
    1515 * Author:            Smartling
    1616 * Author URI:        https://www.smartling.com
Note: See TracChangeset for help on using the changeset viewer.