Changeset 2826493
- Timestamp:
- 11/30/2022 01:07:08 PM (3 years ago)
- Location:
- memsource-connector/trunk
- Files:
-
- 4 edited
-
memsource.php (modified) (2 diffs)
-
readme.txt (modified) (1 diff)
-
src/Service/Content/AbstractPostService.php (modified) (2 diffs)
-
src/Service/TranslationPlugin/WPMLPlugin.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
memsource-connector/trunk/memsource.php
r2790835 r2826493 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.0. 07 Version: 4.0.1 8 8 Text Domain: memsource 9 9 Domain Path: /locale … … 19 19 20 20 define('MEMSOURCE_PLUGIN_PATH', dirname(__FILE__)); 21 define('MEMSOURCE_PLUGIN_VERSION', '4.0. 0');21 define('MEMSOURCE_PLUGIN_VERSION', '4.0.1'); 22 22 define('MEMSOURCE_PLUGIN_DIR_URL', plugin_dir_url(__FILE__)); 23 23 -
memsource-connector/trunk/readme.txt
r2790835 r2826493 33 33 == Changelog == 34 34 35 = 4.0.1 = 36 *Release Date - 27 Sep 2022* 37 38 * Fixed a bug where exporting a page led to an error 39 35 40 = 4.0.0 = 36 41 *Release Date - 27 Sep 2022* -
memsource-connector/trunk/src/Service/Content/AbstractPostService.php
r2774075 r2826493 70 70 $post = $this->getLastRevision($post); 71 71 if ( 72 !empty($post->post_title) 73 && 72 74 ( 73 $post->post_content != ''75 !empty($post->post_content) 74 76 || $this->customFieldService->containsCustomField($post->ID) 75 77 || $this->customFieldService->containsCustomField($post->post_parent) … … 81 83 } 82 84 } 83 84 85 return $posts; 85 86 } -
memsource-connector/trunk/src/Service/TranslationPlugin/WPMLPlugin.php
r2774075 r2826493 250 250 $translation = wpml_get_content_translation($pluginContentType, $sourceContentId, $targetLanguage); 251 251 252 if ( $translation === WPML_API_TRANSLATION_NOT_FOUND) {252 if (in_array($translation, [WPML_API_CONTENT_NOT_FOUND, WPML_API_TRANSLATION_NOT_FOUND], true)) { 253 253 return null; 254 254 }
Note: See TracChangeset
for help on using the changeset viewer.