Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix bug parsing memory_limit in product importer (woocommerce#46051)
Previously, the code assumed that all memory_limit values used the "M" suffix (for megabytes); values using "G" (for gigabytes), "K" (for kilobytes), or no suffix (for bytes) were all parsed incorrectly. Now, all possible values should be handled correctly. This bug has actually been fixed twice before in other locations: Commit 5384033 (woocommerce#30908) Commit 4557108 (woocommerce#21557)
- Loading branch information