Changeset 2786787
- Timestamp:
- 09/19/2022 07:32:43 AM (3 years ago)
- Location:
- motaword
- Files:
-
- 5 edited
- 7 copied
-
tags/1.3.7 (copied) (copied from motaword/trunk)
-
tags/1.3.7/README.txt (copied) (copied from motaword/trunk/README.txt) (2 diffs)
-
tags/1.3.7/admin/class-motaword-admin.php (copied) (copied from motaword/trunk/admin/class-motaword-admin.php) (1 diff)
-
tags/1.3.7/includes/class-motaword-api.php (copied) (copied from motaword/trunk/includes/class-motaword-api.php)
-
tags/1.3.7/includes/class-motaword.php (copied) (copied from motaword/trunk/includes/class-motaword.php) (2 diffs)
-
tags/1.3.7/motaword.php (copied) (copied from motaword/trunk/motaword.php) (1 diff)
-
tags/1.3.7/public/class-motaword-public.php (copied) (copied from motaword/trunk/public/class-motaword-public.php) (1 diff)
-
trunk/README.txt (modified) (2 diffs)
-
trunk/admin/class-motaword-admin.php (modified) (1 diff)
-
trunk/includes/class-motaword.php (modified) (2 diffs)
-
trunk/motaword.php (modified) (1 diff)
-
trunk/public/class-motaword-public.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
motaword/tags/1.3.7/README.txt
r2784458 r2786787 5 5 Requires at least: 3.0.1 6 6 Tested up to: 5.9.3 7 Stable tag: 1.3. 67 Stable tag: 1.3.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 68 68 == Changelog == 69 69 70 = 1.3.7 = 71 * Fixed system folders issue in translation package and skipped unnecessary attributes for translation. 72 70 73 = 1.3.6 = 71 74 * Fixed extraneous encoding. -
motaword/tags/1.3.7/admin/class-motaword-admin.php
r2781942 r2786787 942 942 $isACFBlock = strpos($block['blockName'], 'acf/') === 0; 943 943 $attrs = $block['attrs']; 944 return $this->array_filter_recursive($attrs, function ($value, $key) use($isACFBlock) { 944 $skippedAttributes = ['type', 'url', 'className', 'providerNameSlug', 'align', 'sizeSlug', 'linkDestination']; 945 return $this->array_filter_recursive($attrs, function ($value, $key) use($isACFBlock, $skippedAttributes) { 946 if (in_array($key, $skippedAttributes)) { 947 return false; 948 } 945 949 if ($isACFBlock && 946 950 (substr($key, 0, 1) === '_' || substr($value, 0, 6) === 'field_')) { -
motaword/tags/1.3.7/includes/class-motaword.php
r2784458 r2786787 97 97 * @param string $pluginName 98 98 * 99 * @version 1.3. 699 * @version 1.3.7 100 100 */ 101 101 public function __construct($pluginName = 'motaword/motaword.php') … … 103 103 104 104 $this->motaword = 'motaword'; 105 $this->version = '1.3. 6';105 $this->version = '1.3.7'; 106 106 107 107 $this->setPluginFile($pluginName); -
motaword/tags/1.3.7/motaword.php
r2784458 r2786787 16 16 * Plugin URI: https://www.motaword.com/developer 17 17 * Description: MotaWord plugin allows you to seamlessly submit your posts for translation to MotaWord. 18 * Version: 1.3. 618 * Version: 1.3.7 19 19 * Author: MotaWord Engineering <[email protected]> 20 20 * Author URI: https://www.motaword.com/developer -
motaword/tags/1.3.7/public/class-motaword-public.php
r2784458 r2786787 161 161 if (is_array($languageFolders) && count($languageFolders) > 0) { 162 162 $folder = $languageFolders[0]; 163 $folderPrefix = substr(basename($folder), 0, 1); 164 // prevents using OS folders such as __MACOS in custom packages. 165 if (($folderPrefix === '_' || $folderPrefix === '.') && $languageFolders[1]) { 166 $folder = $languageFolders[1]; 167 } 163 168 } 164 169 -
motaword/trunk/README.txt
r2784458 r2786787 5 5 Requires at least: 3.0.1 6 6 Tested up to: 5.9.3 7 Stable tag: 1.3. 67 Stable tag: 1.3.7 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 68 68 == Changelog == 69 69 70 = 1.3.7 = 71 * Fixed system folders issue in translation package and skipped unnecessary attributes for translation. 72 70 73 = 1.3.6 = 71 74 * Fixed extraneous encoding. -
motaword/trunk/admin/class-motaword-admin.php
r2781942 r2786787 942 942 $isACFBlock = strpos($block['blockName'], 'acf/') === 0; 943 943 $attrs = $block['attrs']; 944 return $this->array_filter_recursive($attrs, function ($value, $key) use($isACFBlock) { 944 $skippedAttributes = ['type', 'url', 'className', 'providerNameSlug', 'align', 'sizeSlug', 'linkDestination']; 945 return $this->array_filter_recursive($attrs, function ($value, $key) use($isACFBlock, $skippedAttributes) { 946 if (in_array($key, $skippedAttributes)) { 947 return false; 948 } 945 949 if ($isACFBlock && 946 950 (substr($key, 0, 1) === '_' || substr($value, 0, 6) === 'field_')) { -
motaword/trunk/includes/class-motaword.php
r2784458 r2786787 97 97 * @param string $pluginName 98 98 * 99 * @version 1.3. 699 * @version 1.3.7 100 100 */ 101 101 public function __construct($pluginName = 'motaword/motaword.php') … … 103 103 104 104 $this->motaword = 'motaword'; 105 $this->version = '1.3. 6';105 $this->version = '1.3.7'; 106 106 107 107 $this->setPluginFile($pluginName); -
motaword/trunk/motaword.php
r2784458 r2786787 16 16 * Plugin URI: https://www.motaword.com/developer 17 17 * Description: MotaWord plugin allows you to seamlessly submit your posts for translation to MotaWord. 18 * Version: 1.3. 618 * Version: 1.3.7 19 19 * Author: MotaWord Engineering <[email protected]> 20 20 * Author URI: https://www.motaword.com/developer -
motaword/trunk/public/class-motaword-public.php
r2784458 r2786787 161 161 if (is_array($languageFolders) && count($languageFolders) > 0) { 162 162 $folder = $languageFolders[0]; 163 $folderPrefix = substr(basename($folder), 0, 1); 164 // prevents using OS folders such as __MACOS in custom packages. 165 if (($folderPrefix === '_' || $folderPrefix === '.') && $languageFolders[1]) { 166 $folder = $languageFolders[1]; 167 } 163 168 } 164 169
Note: See TracChangeset
for help on using the changeset viewer.