← All changes
|
includes/Core/Integration/ZohoRecruit/FilesApiHelper.php
+1
-1
3.2.2
→
3.3.1
View file →
| @@ -101,7 +101,7 @@ | ||
| 101 | 101 | { |
| 102 | 102 | if (is_array($files)) { |
| 103 | 103 | return array_map([__CLASS__, 'normalizeFileNames'], $files); |
| 104 | 104 | } |
| 105 | - return is_string($files) ? basename(parse_url($files, PHP_URL_PATH) ?: $files) : $files; | |
| 105 | + return is_string($files) ? basename(wp_parse_url($files, PHP_URL_PATH) ?: $files) : $files; | |
| 106 | 106 | } |
| 107 | 107 | } |