Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#11760 closed defect (bug) (duplicate)

deprecate sanitize_url() and clean_url()

Reported by: Denis-de-Bernardy Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.0
Component: General Keywords:
Focuses: Cc:


We've had esc_url_raw() since WP 2.8. We should now deprecate the two above-mentioned functions and clean up the code.

Change History (2)

#1 @Denis-de-Bernardy
8 years ago

Or rather, we should at least obsolete sanitize_url(), and mark clean_url() as "for internal use only, use esc_url() and esc_url_raw() instead".

#2 @nacin
8 years ago

  • Milestone 3.0 deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.