Changeset 2911219
- Timestamp:
- 05/11/2023 02:13:17 PM (3 years ago)
- Location:
- polylang-supertext/trunk/src/Supertext
- Files:
-
- 2 edited
-
Helper/Constant.php (modified) (1 diff)
-
TextAccessors/PostMediaTextAccessor.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
polylang-supertext/trunk/src/Supertext/Helper/Constant.php
r2652708 r2911219 13 13 * @var string development api endpoints 14 14 */ 15 const DEV_API = 'https:// dev.supertext.ch/api/';15 const DEV_API = 'https://staging.supertext.ch/api/'; 16 16 /** 17 17 * @var string live api endpoints -
polylang-supertext/trunk/src/Supertext/TextAccessors/PostMediaTextAccessor.php
r2520480 r2911219 103 103 104 104 foreach ($texts as $sourceAttachmentId => $text) { 105 105 if(empty($sourceAttachmentId)) { 106 continue; 107 } 108 106 109 $sourceLanguage = $this->library->getMultilang()->getPostLanguage($sourceAttachmentId); 107 110 $targetLanguage = $this->library->getMultilang()->getPostLanguage($post->ID);
Note: See TracChangeset
for help on using the changeset viewer.