Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Make sure there is a empty array fallback for all paths
  • Loading branch information
oandregal committed Oct 6, 2022
commit 66b66f645d0ae99664a142fc77e70efb7dce9fed
4 changes: 2 additions & 2 deletions src/wp-includes/class-wp-theme-json-resolver.php
Original file line number Diff line number Diff line change
Expand Up @@ -100,9 +100,9 @@ protected static function read_json_file( $file_path ) {
static::$theme_json_file_cache[ $file_path ] = $decoded_file;
return static::$theme_json_file_cache[ $file_path ];
}
} else {
return array();
}

return array();
}

/**
Expand Down