# wp\_upload\_dir() change http to https (ok)

```
$uploads['baseurl'] = preg_replace("/^http:/i", "https:", $uploads['baseurl']);
```
