Skip to content

Commit c2f3fcd

Browse files
committed
Merge branch 'release/1.1.1'
2 parents 362d27f + 9acbef1 commit c2f3fcd

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

CHANGELOG.md

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,18 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4+
## 1.1.1 - 05.02.2020
5+
6+
### Fixed:
7+
- Path to URL rewrite on Windows machines. The WP_CONTENT_DIR is now normalized.
8+
49
## 1.1.0 - 29.01.2020
510

611
### Added:
7-
* mkdir support for recursive dir creation when using Direct method.
12+
- mkdir support for recursive dir creation when using Direct method.
813

914
### Fixed:
10-
* Invalid method name causing warning.
15+
- Invalid method name causing warning.
1116

1217
## 1.0.0 - 28.01.2020
1318

src/Filesystem.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ public function mkdir( $path, $chmod = false, $chown = false, $chgrp = false, $r
176176
* @return string
177177
*/
178178
public function path_to_url( $path ) {
179-
return str_replace( WP_CONTENT_DIR, WP_CONTENT_URL, $path );
179+
return str_replace( wp_normalize_path( WP_CONTENT_DIR ), WP_CONTENT_URL, $path );
180180
}
181181

182182
/**

0 commit comments

Comments
 (0)