diff --git a/core/includes/file.inc b/core/includes/file.inc index 3a1962aa89..765130651b 100644 --- a/core/includes/file.inc +++ b/core/includes/file.inc @@ -705,10 +705,10 @@ function file_unmanaged_move($source, $destination = NULL, $replace = FILE_EXIST * @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * Use \Drupal\Core\File\FileUploadInterface::mungeFilename() instead. * - * @see https://www.drupal.org/node/3006851 + * @see https://www.drupal.org/node/3021652 */ function file_munge_filename($filename, $extensions, $alerts = TRUE) { - @trigger_error('file_munge_filename() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileUploadInterface::mungeFilename(). See https://www.drupal.org/node/3006851.', E_USER_DEPRECATED); + @trigger_error('file_munge_filename() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileUploadInterface::mungeFilename(). See https://www.drupal.org/node/3021652.', E_USER_DEPRECATED); return \Drupal::service('file_upload')->mungeFilename($filename, $extensions, $alerts); } @@ -724,10 +724,10 @@ function file_munge_filename($filename, $extensions, $alerts = TRUE) { * @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * Use \Drupal\Core\File\FileUploadInterface::mungeFilename() instead. * - * @see https://www.drupal.org/node/3006851 + * @see https://www.drupal.org/node/3021652 */ function file_unmunge_filename($filename) { - @trigger_error('file_unmunge_filename() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileUploadInterface::unmungeFilename(). See https://www.drupal.org/node/3006851.', E_USER_DEPRECATED); + @trigger_error('file_unmunge_filename() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileUploadInterface::unmungeFilename(). See https://www.drupal.org/node/3021652.', E_USER_DEPRECATED); return \Drupal::service('file_upload')->unmungeFilename($filename); } @@ -1074,10 +1074,10 @@ function file_scan_directory($dir, $mask, $options = [], $depth = 0) { * @deprecated in Drupal 8.7.0, will be removed before Drupal 9.0.0. * Use \Drupal\Core\File\FileUploadInterface::getUploadMaxSize() instead. * - * @see https://www.drupal.org/node/3006851 + * @see https://www.drupal.org/node/3021652 */ function file_upload_max_size() { - @trigger_error('file_upload_max_size() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileUploadInterface::getUploadMaxSize(). See https://www.drupal.org/node/3006851.', E_USER_DEPRECATED); + @trigger_error('file_upload_max_size() is deprecated in Drupal 8.7.0 and will be removed before Drupal 9.0.0. Use \Drupal\Core\File\FileUploadInterface::getUploadMaxSize(). See https://www.drupal.org/node/3021652.', E_USER_DEPRECATED); return \Drupal::service('file_upload')->getUploadMaxSize(); }