diff --git a/src/wp-includes/functions.php b/src/wp-includes/functions.php
index 33b775e718..6105427f35 100644
--- a/src/wp-includes/functions.php
+++ b/src/wp-includes/functions.php
@@ -2182,6 +2182,10 @@ function path_join( $base, $path ) {
  * @return string Normalized path.
  */
 function wp_normalize_path( $path ) {
+	if ( ! $path ) {
+		return $path;
+	}
+
 	$wrapper = '';

 	if ( wp_is_stream( $path ) ) {
s
