diff --git a/core/includes/file.inc b/core/includes/file.inc index da6c62b..17ce8c3 100644 --- a/core/includes/file.inc +++ b/core/includes/file.inc @@ -331,7 +331,7 @@ function file_uri_target($uri) { // forward-slashes and backslashes. $target = trim(preg_replace('/^[\w\-]+:\/\/|^data:/', '', $uri), '\/'); - // If nothing was replaced, the uri doesn't have a valid scheme. + // If nothing was replaced, the URI doesn't have a valid scheme. return $target !== $uri ? $target : FALSE; } @@ -446,8 +446,8 @@ function file_stream_wrapper_get_instance_by_scheme($scheme) { * part of Drupal core or contributed modules or themes. * * @param string $uri - * The URI to a file for which we need an external URL, the path to a - * shipped file or a data URI. + * The URI to a file for which we need an external URL, or the path to a + * shipped file. * * @return string * A string containing a URL that may be used to access the file. @@ -484,7 +484,7 @@ function file_create_url($uri) { } elseif ($scheme == 'http' || $scheme == 'https' || $scheme == 'data') { // Check for HTTP and data URI-encoded URLs so that we don't have to - // implement getExternalUrl() for the HTTP and data wrappers. + // implement getExternalUrl() for the HTTP and data schemes. return $uri; } else {