πŸ‡ΊπŸ‡ΈUnited States @twistor

Account created on 3 April 2009, almost 16 years ago
#

Recent comments

πŸ‡ΊπŸ‡ΈUnited States twistor
  1. +++ b/includes/file.inc
    @@ -888,18 +887,66 @@ function file_valid_uri($uri) {
    +  $real_source = drupal_realpath($source) ?: $source;
    +  $real_destination = drupal_realpath($destination) ?: $destination;
    

    We can't use the short ternary.

  2. +++ b/includes/file.inc
    @@ -888,18 +887,66 @@ function file_valid_uri($uri) {
    -    drupal_set_message(t('The specified file %file could not be copied, because no file by that name exists. Please check that you supplied the correct filename.', array('%file' => $original_source)), 'error');
    +    drupal_set_message(t('The specified file %file could not be moved/copied, because no file by that name exists. Please check that you supplied the correct filename.', array('%file' => $original_source)), 'error');
    ...
    -      watchdog('file', 'File %file (%realpath) could not be copied because it does not exist.', array('%file' => $original_source, '%realpath' => $realpath));
    +      watchdog('file', 'File %file (%realpath) could not be moved/copied because it does not exist.', array('%file' => $original_source, '%realpath' => $realpath));
    

    Are we ok with these string changes?

Production build 0.71.5 2024