Forum Replies Created

Viewing 1 replies (of 1 total)
  • 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 1 year, 3 months ago by hatand.
Viewing 1 replies (of 1 total)