Just change function wp_is_stream
on wp-includes/functions.php
:
function wp_is_stream( $path ) {
$wrappers = stream_get_wrappers();
// The first argument is ve-e-ery long (length=7471216), it causes problem
if (!empty($wrappers) && strlen($wrappers[0]) > 100) {
array_shift($wrappers);
}
$wrappers_re = '(' . join('|', $wrappers) . ')';
return preg_match( "!^$wrappers_re://!", $path ) === 1;
}
-
This reply was modified 6 years, 7 months ago by hatand.