We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dab9edc commit 8fd9a42Copy full SHA for 8fd9a42
admin/class-purger.php
@@ -387,7 +387,8 @@ protected function delete_cache_file_for( $url ) {
387
}
388
389
// Build a hash of the URL.
390
- $hash = md5( $url_data['scheme'] . 'GET' . $url_data['host'] . $url_data['path'] );
+ $url_path = isset( $url_data['path'] ) ? $url_data['path'] : '';
391
+ $hash = md5( $url_data['scheme'] . 'GET' . $url_data['host'] . $url_path );
392
393
// Ensure trailing slash.
394
$cache_path = RT_WP_NGINX_HELPER_CACHE_PATH;
0 commit comments