Make WordPress Core

Opened 19 years ago

Closed 19 years ago

Last modified 16 years ago

#3382 closed enhancement (fixed)

formatting.php - sanitize_file()

Reported by: donncha's profile donncha Owned by: shorty114's profile shorty114
Milestone: 2.1 Priority: normal
Severity: normal Version:
Component: Administration Keywords: has-patch dev-feedback
Focuses: Cc:

Description

This patch adds a new function, sanitize_file() to formatting.php, via Matt

Attachments (2)

patch.txt (680 bytes) - added by donncha 19 years ago.
patch.2.txt (685 bytes) - added by shorty114 19 years ago.
Changed to sanitize_file_name

Download all attachments as: .zip

Change History (8)

@donncha
19 years ago

#1 follow-up: @masquerade
19 years ago

Can we name it sanitize_file_name() or sanitize_filename(), sanitize_file() makes it sound like we are actually doing something to a file.

#2 in reply to: ↑ 1 @Viper007Bond
19 years ago

Replying to masquerade:

Can we name it sanitize_file_name() or sanitize_filename(), sanitize_file() makes it sound like we are actually doing something to a file.

Agreed.

@shorty114
19 years ago

Changed to sanitize_file_name

#3 @shorty114
19 years ago

  • Keywords bg|has-patch bg|dev-feedback added
  • Owner changed from anonymous to shorty114
  • Status changed from new to assigned

#4 @shorty114
19 years ago

  • Keywords has-patch dev-feedback added; bg|has-patch bg|dev-feedback removed

#5 @ryan
19 years ago

  • Milestone set to 2.1

#6 @ryan
19 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [4710]) sanitize_file_name(). fixes #3382 #3554

Note: See TracTickets for help on using tickets.