Skip to content

on Windows/IIS the function handle_imports not work correctly due to the path separator. #5

@haoqiren

Description

@haoqiren

the function handle_imports in the file class.add-from-server.php not work correctly on windows,the code below:

if ( $filename !== realpath( $filename ) ) {
continue;
}

on Windows/IIS,the path separator are '\', '$filename !== realpath( $filename )' always is true.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions