Plugin Directory

Changeset 2826493


Ignore:
Timestamp:
11/30/2022 01:07:08 PM (3 years ago)
Author:
memsource
Message:

Version 4.0.1

Location:
memsource-connector/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • memsource-connector/trunk/memsource.php

    r2790835 r2826493  
    55Plugin URI: https://support.phrase.com/hc/en-us/articles/5709657294620
    66Description: Localize WordPress websites with the help of professional translation tools: translation memories, terminology bases and quality checkers.
    7 Version: 4.0.0
     7Version: 4.0.1
    88Text Domain: memsource
    99Domain Path: /locale
     
    1919
    2020define('MEMSOURCE_PLUGIN_PATH', dirname(__FILE__));
    21 define('MEMSOURCE_PLUGIN_VERSION', '4.0.0');
     21define('MEMSOURCE_PLUGIN_VERSION', '4.0.1');
    2222define('MEMSOURCE_PLUGIN_DIR_URL', plugin_dir_url(__FILE__));
    2323
  • memsource-connector/trunk/readme.txt

    r2790835 r2826493  
    3333== Changelog ==
    3434
     35= 4.0.1 =
     36*Release Date - 27 Sep 2022*
     37
     38* Fixed a bug where exporting a page led to an error
     39
    3540= 4.0.0 =
    3641*Release Date - 27 Sep 2022*
  • memsource-connector/trunk/src/Service/Content/AbstractPostService.php

    r2774075 r2826493  
    7070            $post = $this->getLastRevision($post);
    7171            if (
     72                !empty($post->post_title)
     73                &&
    7274                (
    73                     $post->post_content != ''
     75                    !empty($post->post_content)
    7476                    || $this->customFieldService->containsCustomField($post->ID)
    7577                    || $this->customFieldService->containsCustomField($post->post_parent)
     
    8183            }
    8284        }
    83 
    8485        return $posts;
    8586    }
  • memsource-connector/trunk/src/Service/TranslationPlugin/WPMLPlugin.php

    r2774075 r2826493  
    250250        $translation = wpml_get_content_translation($pluginContentType, $sourceContentId, $targetLanguage);
    251251
    252         if ($translation === WPML_API_TRANSLATION_NOT_FOUND) {
     252        if (in_array($translation, [WPML_API_CONTENT_NOT_FOUND, WPML_API_TRANSLATION_NOT_FOUND], true)) {
    253253            return null;
    254254        }
Note: See TracChangeset for help on using the changeset viewer.