protected function normalize_path( $path ) {

		$path = str_replace( '\\', '/', $path );
		$path = preg_replace( '|/+|','/', $path );

		return rtrim( $path, '/' );
	}
protected function normalize_path( $path ) {

		$path = str_replace( '\\', '/', $path );
		$path = preg_replace( '|/+|','/', $path );

		return rtrim( $path, '/' );
	}
protected function normalize_path ( $ path ) { $ path = str_replace ( '\\' , '/' , $ path ) ; $ path = preg_replace ( '|/+|' , '/' , $ path ) ; return rtrim ( $ path , '/' ) ; }
Normalize a path.

@since 0.1.0

@param string $path The path to normalize.

@return string The normalized path.
Normalize a path .